Getting 500 error on token generation
回答済み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'
-
It looks like you’re encountering a
500 Internal Server Error
when attempting to get a token from Box’s API. This typically indicates a server-side issue, but you should first verify that all your credentials (client ID, client secret, and enterprise ID) are correct and that you haven’t hit any API rate limits. Additionally, ensure that your API call is properly formatted and that unnecessary headers, likeCookie
, are removed. If the problem persists, check Box's status page for any ongoing service issues or reach out to their support team for further assistance. YourTexasBenefits com
サインインしてコメントを残してください。
コメント
2件のコメント