Skip to main content
Question

Issue with Box Platform API: 404 Errors When Using Client Credentials Access Token (Free Account)

  • September 23, 2024
  • 0 replies
  • 19 views

Forum|alt.badge.img

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.

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings