You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
bszt123
7 months agoHelpful | Level 5
Dropbox API error with 500
Greetings, I am encountering the following error while calling the Dropbox API: InternalServerError('6c7329b49922471380831b2b3f2fb49c', 500, '{"error": "The server has either erred or is inca...
- 6 months ago
Yes, that error indicates an issue with the value passed to as_user. The as_user method requires a team member ID, not an email address. You can get team member IDs from team_members_get_info_v2 or team_members_list_v2 and team_members_list_continue_v2, for example.
bszt123
Helpful | Level 5
Thank you for your help. I'll share some similar case below:
----- InternalServerError('42e7053b316244c6aa1c4a0bbf0dc73a', 500, '{"error": "The server has either erred or is incapable of performing the requested operation."}') -----
----- InternalServerError('97748957576e4242917039b7ea388845', 500, '{"error": "The server has either erred or is incapable of performing the requested operation."}') -----
----- InternalServerError('c6773078d4d845f2b5fca97aedd959f4', 500, '{"error": "The server has either erred or is incapable of performing the requested operation."}') -----
----- InternalServerError('0be0422b77d54c1390c74dd9d1c7877c', 500, '{"error": "The server has either erred or is incapable of performing the requested operation."}') -----
----- InternalServerError('4346a5d44d954ec68f8a5bf9383dba76', 500, '{"error": "The server has either erred or is incapable of performing the requested operation."}') -----
----- InternalServerError('4713094d90804c85866201a5e575f26c', 500, '{"error": "The server has either erred or is incapable of performing the requested operation."}') -----
----- InternalServerError('bc4e6866de6c4b78b61fb25c3de24b53', 500, '{"error": "The server has either erred or is incapable of performing the requested operation."}') -----
Greg-DB
7 months agoDropbox Staff
Thanks, that's helpful. We'll look into it and follow up here with any updates on this.
For reference though, it looks like you're referring to using an account with a team space, so make sure you're setting the correct namespace ID for the account's current root. You can find information on how to use that in the Team Files Guide.
- bszt1237 months agoHelpful | Level 5
Thank you for your assistance. An error with the Dropbox API is causing a critical issue for our service. We hope this issue can be resolved promptly. Thanks again.
- Greg-DB7 months agoDropbox Staff
Engineering is looking into this and I'll follow up here once I have any news for you.
Were you able to check that you're passing the correct root value for the account as noted in my previous message though? It looks like this error may be related to that, so make sure you're setting the right value as that may avoid the error.
- Greg-DB7 months agoDropbox Staff
Update: we confirmed this is related to sending an incorrect root for the account; in some cases the server would return a 500 instead of the expected 422 error. We've fixed that so it should be returning the proper 422 now. Please refer to the "Path Root Header Modes" documentation for information on that.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 3 years agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!