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…

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

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?

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

@rbarbosa thanks for your reply