Skip to main content
Question

"error":"invalid_grant","error_description":"Grant credentials are invalid"

  • May 22, 2025
  • 4 replies
  • 26 views

Forum|alt.badge.img

Hey all, 

I saw another post where this might be an issue. However, it looks like that post died without responses. Is this still an issue with the API? 

I'm having a terrible time trying to figure out how to grab a file from a user using an enterprise app. The API doesn't want to authenticate as a user using the enterprise app creds, and the "as-user" header seems to be broken. 

Any help would be much appreciated!

4 replies

Forum|alt.badge.img

May I have the client id of the application, as well as the code snippet you are running? 

Thanks,

Alex, Box Developer Advocate


Forum|alt.badge.img

Ultimately, I figured this out on my own. Thanks for reaching out. 

However, did you indeed fix the bug related to the above error? I assume so since it seems to be working...but just wanted confirmation. 


Forum|alt.badge.img

Got it! Apologies on the delay! The forum isn't the best for on demand support - I try to get to them once a week. The bug was fixed - so that shouldn't be happening anymore. 


Forum|alt.badge.img

Thank you!