We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

bszt123's avatar
bszt123
Helpful | Level 5
7 months ago

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 incapable of performing the requested operation."}')

 

Below is the Python code for the API call:

self.dbx = dropbox.Dropbox(self.app_token).with_path_root(dropbox.dropbox_client.PathRoot.root('8297511184')) result = self.dbx.files_list_folder(path)

 

I would like to request clarification on the cause of the above error.

 

Best regards,

SangWoon Yoon

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report. We'll be happy to look into this, but we could use more samples. (Unfortunately just one like you have here isn't always sufficient.)

     

    Can you share several more (5-10) samples of the output showing the failure like this? The request IDs in that output should be helpful. Thanks in advance!

    • bszt123's avatar
      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's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox 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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 months ago
325 Following

If 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!