API call using postman to get token for Business Box account
I have checked the cliendid, secret, and enterpriseid all correct.
Still getting this => 500Internal Server Error
curl --location 'https://api.box.com/oauth2/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: box_visitor_id=66acdc3c8eeef8.59718257; site_preference=desktop' \
--data-urlencode 'client_id=wqsdp1xbnfc6fehctjmhag6c9n5ok6zv' \
--data-urlencode 'client_secret=******************' \
--data-urlencode 'box_subject_type=enterprise' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'box_subject_id=1177941370'