Skip to main content

Hello Box Community,

I'm currently working on integrating with the Box API. I'm using a free Box account and have successfully obtained an access token using the /oauth2/token endpoint with the following parameters:

  • grant_type: client_credentials
  • client_id: <my_client_id>
  • client_secret: <my_client_secret>

My custom app is configured with OAuth2 authentication, and the access token is returned successfully with these 3 parameters. However, when I try to use this token for most API calls, I receive a 404 Not Found error.

The only API call that has worked for me so far is:

GET /collaborations?status=pending

For other endpoints (e.g., retrieving files, folders), I consistently get 404 errors.

Has anyone faced a similar issue when using the client credentials grant type, especially with a free account? Do I need to enable specific permissions for my app or use a different authentication approach for certain endpoints? Any guidance on resolving this would be greatly appreciated!

Thank you in advance for your help.

Be the first to reply!

Reply