Join BoxWorks in San Francisco Nov 12-13! Keynotes, product demos, and Box Master Classes. Reserve your spot!

Unable to get access token using Box API

New post

Comments

1 comment

  • Peter Christensen

    HI 

    To use the 'client credentials' grant type you have to have client credentials type app. See https://developer.box.com/guides/authentication/client-credentials/client-credentials-setup/

    The call you are making with the grant type 'enterprise' is designed to provide a token for the service account (automation user) that is created when your client credentials grant app is authorised by your admin. Standard OAuth 2.0 user based apps do not support this type of credentials.

    Best regards

    Peter Christensen, Platform Solutions Engineer, Box

    1
    Comment actions Permalink

Post is closed for comments.