Uploading via Server-Side Login via API
AnsweredMessage: Grant credentials are invalid
The login to Box is valid. The error pops up when uploading to one of the folders. For example trying to upload the latest 'AU_BEL' logs the following:
Client Auth success: <boxsdk.client.client.Client object at 0x7fd2ee018310>
Client User Auth success: <boxsdk.client.client.Client object at 0x7fd2ebfd14d0>
Switched to folder for AU_BEL at 86734036620
Attempting to upload au_bel_20230821_2310.pdf to folder "86734036620"
"POST https://api.box.com/
{'Date': 'Tue, 15 Aug 2023 10:18:41 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Strict-Transport-Security': 'max-age=31536000', 'Set-Cookie': 'box_visitor_id=
{'error': 'invalid_grant', 'error_description': 'Grant credentials are invalid'}
-
Hi Britt,
Welcome to Box Community and glad to help!
To answer your API question(s), you may head over to this forum (https://forum.box.com/).
Thanks for posting!
Please sign in to leave a comment.
Comments
1 comment