Take Your Search Game to the Next Level with Dropbox Dash  🚀✨ Curious how it works? Ask us here! 

Forum Discussion

Simma's avatar
Simma
Explorer | Level 4
9 months ago

Consistent 500 error, no status text, from files_download_zip_to_file

Hitting this stack consistently.  I am using the Root namespace and this is attempting to download a personal folder as part of download a tree of personal and team folders.

File "C:\Users\PDS\git\dropzip\src\dropzip\dropzip.py", line 176, in download_folder
    dbx.files_download_zip_to_file(target, folder)
  File "C:\Users\PDS\AppData\Local\pypoetry\Cache\virtualenvs\dropzip-ocl8TPfY-py3.11\Lib\site-packages\dropbox\base.py", line 1525, in files_download_zip_to_file
    r = self.request(
        ^^^^^^^^^^^^^
  File "C:\Users\PDS\AppData\Local\pypoetry\Cache\virtualenvs\dropzip-ocl8TPfY-py3.11\Lib\site-packages\dropbox\dropbox_client.py", line 326, in request
    res = self.request_json_string_with_retry(host,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\PDS\AppData\Local\pypoetry\Cache\virtualenvs\dropzip-ocl8TPfY-py3.11\Lib\site-packages\dropbox\dropbox_client.py", line 476, in request_json_string_with_retry
    return self.request_json_string(host,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\PDS\AppData\Local\pypoetry\Cache\virtualenvs\dropzip-ocl8TPfY-py3.11\Lib\site-packages\dropbox\dropbox_client.py", line 595, in request_json_string
    self.raise_dropbox_error_for_resp(r)
  File "C:\Users\PDS\AppData\Local\pypoetry\Cache\virtualenvs\dropzip-ocl8TPfY-py3.11\Lib\site-packages\dropbox\dropbox_client.py", line 620, in raise_dropbox_error_for_resp
    raise InternalServerError(request_id, res.status_code, res.text)
dropbox.exceptions.InternalServerError: InternalServerError('8cb6778eb30e4e658477df2c9c58a7cc', 500, '')

Anyone able to shed any light?  Sadly no useful text in the error, just an empty string!

11 Replies

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

    Thanks for the report! Can you share the full steps/code/parameter values to reproduce this error? Don't share any access token, refresh token, or app secret though.

    • Simma's avatar
      Simma
      Explorer | Level 4

      See the tool that my husband has written here: https://github.com/papadeltasierra/dropzip

      An attempt to logon as myself and then download with the source folder as `""` appears to start to download my personal folder (as a ZIP file) but then throws the errors reported above.  This happens ever time.

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

        Thanks! We'll look into it and follow up here with any updates.

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

    This should be working now. Please let us know if you're still seeing any issues. Thanks for the report!

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers810 PostsLatest Activity: 10 hours ago
248 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!