Skip to main content
Box Employee
May 22, 2025 11:45 AM UTC
Question

Grant credentials are invalid

Hi,

I am getting this error --> {"error":"invalid_grant","error_description":"Grant credentials are invalid"} when I am trying to generate access token using the credentials.

Client id is ni8daktl7chhwxlt0zovndcefq4e7brc

App Access Level is set to App Access Only.

Can anyone please look into this?

Thanks,

Kaustav

    13 replies

    Box Employee
    May 22, 2025 11:46 AM UTC

    Great question! You can read more about app users and managed users in our user types guide. 

    The TLDR is that app users are only accessible via the API, meaning they do not have login credentials. 

    If you would like to access the content of managed users as well, you will need to change the application access to app + enterprise and then ensure the application is reauthorized in the Admin Console. 

    Translate
    Box Employee
    May 22, 2025 11:46 AM UTC

    Hi Kourtney,

    Thanks for sharing the information.

    After going through the user guide as well as your explanation, I can conclude that the user id is a managed user id, i.e, the user id has login credentials.

    However, I cannot change the access to app + enterprise as it is not allowed in our organization. But my concern is that the APIs are behaving differently though the scope of the application and the type of user is same (as shared earlier with screenshots).

    Translate
    New Member
    Jul 29, 2025 10:26 AM UTC

    I am encountering the same issue - I have a CCG app it is set to app + enterprise.

    Did you find a solution for this?

    Translate