Skip to main content
New Participant
Jan 9, 2024 11:36 AM UTC

Box Authentication

{‘error’: ‘invalid_grant’, ‘error_description’: ‘Grant credentials are invalid’} getting error while using ccgAuth() with cient id, client secret and user. please help…

4 replies

rbarbosa Box
Developer Advocate
Jan 9, 2024 2:39 PM UTC

Hi @user165 , welcome to the forum.

Check if the client id and client secret match your application configuration in the developer console.

Also, often folks change CCG apps configuration and forget to re-submit for admin approval, so just in case submit it.

Let us know if it worked

Best regards

Translate
user165Author
New Participant
Jan 10, 2024 3:55 AM UTC

hi @rbarbosa , it does match. but my account is an individual account ,not registered under an enterprise. is possible for me to use CCG AUTH?

Translate
rbarbosa Box
Developer Advocate
Jan 10, 2024 8:34 PM UTC

Hi there,

For now you can’t use CCG in a free account, but the error pointed me to CCG, so…

You need to use the pure OAuth 2.0

Cheers

Translate
user165Author
New Participant
Jan 11, 2024 8:57 AM UTC

@rbarbosa thanks for your reply

Translate