BOX API: Grant credentials are invalid
I have created a Client Grant type application in our company Box application.
When trying to connect to it, I am getting following error:
curl -L -X POST "https://<companyboxurl>/oauth2/token"
-H "Content-Type: application/x-www-form-urlencoded"
--data-urlencode "client_id=<client_id>"
--data-urlencode "client_secret=<client_secret>"
--data-urlencode "grant_type=client_credentials"
--data-urlencode "box_subject_type=enterprise"
--data-urlencode "box_subject_id=<enterprise_id>"
On trying this, I am getting the below error:
{"error":"invalid_grant","error_description":"Grant credentials are invalid"}
I read that there was a bug relating to this. Is it still a bug now?
My client_id is l5d6mudnfv8xj4rpqe448djixre01nn5
I am choosing App + Enterprise Access
サインインしてコメントを残してください。
コメント
1件のコメント