Error: Grant credentials are invalid
AnsweredI have created an application as the documentation says, but I always get this error.
https://developer.box.com/guides/authentication/client-credentials/
This is your documentation, can you help me?
This is my app client id: alhd08bt4pv1gt6n9i4ipi8andjscofb
curl -i -X POST "https://api.box.com/oauth2/token" \
-H"Content-Type: application/x-www-form-urlencoded"\
-d"client_id=alhd08bt4pv1gt6n9i4ipi8andjscofb"\
-d"client_secret=*****"\
-d"grant_type=client_credentials"\
-d"box_subject_type=user"\
-d"box_subject_id=2629647****"
Response:
{
"error": "invalid_grant",
"error_description": "Grant credentials are invalid"
}
-
Hi Rubén,
Welcome to Box Community and glad to help!
Great news! We've opened a new community where you could post all your API inquiries or issues to receive absolute seamless support from our team.
Please go over to our (new) Box Developer Community and post your question.
Stay well and we'd love to have you there!
Please sign in to leave a comment.
Comments
1 comment