Can't find service account ID
Hi,
I have an app created with the Server Authentication (Client Credentials Grant), with app access level set to "App Access Only", and I'm failing to get an access token. I keep getting the error: "Grant credentials are invalid when I am trying to generate an access token:
Thanks,
-
Hello!
As noted here, you will want to pass in enterprise and the enterprise id, assuming you have the app access + enterprise enterprise selected... not a user and user id.
Otherwise, to find the id of the service account, you can use the Box CLI or Postman to find the service account user. See more about that user type here.
Thanks,
Alex, Box Developer Advocate
Please sign in to leave a comment.
Comments
1 comment