I have created custom app with OAuth 2.0 with Client Credentials Grant option and when i am trying to hit api to get access token i got "Grant credentials are invalid" Error. Currently I am using developer free account. Also I have checked my creds.
Request:
TOKEN_URL= "https://api.box.com/oauth2/token"
data = {
"client_id": <client_id>,
"client_secret": <client_secret>,
"grant_type": "client_credentials",
"box_subject_type": "user",
"box_subject_id": "<user_id>"
}
response = requests.post(TOKEN_URL, data=data)
