BOX API is not working when CURL used "Grant credentials are invalid"
Hi Team,
I tried to invoke Box api from curl but facing grant access issue
curl -i -X POST "https://api.box.com/oauth2/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "client_id=laxwqvlbbb61zkz7oj1np4d2dvsy8fes" \
-d "client_secret=[xxxxxxxxx]" \
-d "grant_type=client_credentials" \
-d "box_subject_type=user" \
-d "box_subject_id=24730584636"
Response
{
"error": "invalid_grant",
"error_description": "Grant credentials are invalid"
}
Access: App level
Can someone provide the possible solution.
-
Hi,
Is this issue got resolved? I'm also getting the same issue.
A reply would be appreciated.
Please sign in to leave a comment.
Comments
3 comments