Error code 500 while uploading the file.
AnsweredHi,
I'm trying to upload file using rest API and getting 500 Internal Server Error.
URL: https://upload.box.com/api/2.0/files/content
Header :- "Authorization: Bearer XYZ"
Body(form-data) : attributes='{"name":"test.png", "parent":{"id":""4***phone number removed for privacy***}}'
file=file will be here
Postman screenshot are following:-
Please help ASAP.
-
Thank you guys problem is resolved,
I was using the postman from google chrome extension to check the API and getting 500 in response.
But now I had tested it on postman official application (https://www.getpostman.com/apps) Now it's working fine.
As postman extension is deprecated it still gives me error but on official application its working fine.
Please sign in to leave a comment.
Comments
1 comment