Hi Team,
Here I am sending a request and response from the Postman. If anything I missed in the settings. Please let me know.
I have gone through from this url: https://developer.box.com/guides/authentication/jwt/without-sdk/
REQUEST:
curl --location --request POST 'https://api.box.com/oauth2/token' \
--header 'content-type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=iup71sqfj7xyq8vri47y6461rpeu7gf7' \
--data-urlencode 'client_secret=REDACTED' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'box_subject_type=enterprise' \
--data-urlencode 'box_subject_id=793476120'
RESPONSE:
{
"error": "unauthorized_client",
"error_description": "The \"box_subject_type\" value is unauthorized for this client_id"
}