Skip to main content

Box Authentication

  • January 9, 2024
  • 4 replies
  • 10 views

{‘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
  • Developer Advocate
  • January 9, 2024

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


  • Author
  • January 10, 2024

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?


rbarbosa
  • Developer Advocate
  • January 10, 2024

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


  • Author
  • January 11, 2024

@rbarbosa thanks for your reply