JWT authentication Internal Server Error
AnsweredI have been trying to get the JWT authentication working on my app, following this: https://github.com/box/box-python-sdk#box-developer-edition.
I get an acccess_token successfully, after the call
access_token = auth.authenticate_instance()
but all subsequent requests return a 500 (internal_server_error). Here are two latest examples:
b'{"type":"error","status":500,"code":"internal_server_error","help_url":"http:\\/\\/developers.box.com\\/docs\\/#errors","message":"Internal Server Error","request_id":"***number removed for privacy***958bdce7e8c11b"}' b'{"type":"error","status":500,"code":"internal_server_error","help_url":"http:\\/\\/developers.box.com\\/docs\\/#errors","message":"Internal Server Error","request_id":"***number removed for privacy***58bdce800b026"}'
Any idea where I could have gone wrong? Thank you!
-
After trying to figure this out for a few hours, I finally decided to give the entire process another try, with a new app. Only then did I realize that the error could probably have been because I created the wrong kind of app. This time, I created an "Enterprise Integration" app after clicking "Create a new app" and followed the instructions from documentation. Now, I can make authenticate with the API using JWT.
Please sign in to leave a comment.
Comments
1 comment