Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Simma
2 years agoExplorer | Level 4
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-DB2 years ago
Dropbox Community Moderator
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.
- Simma2 years agoExplorer | 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-DB2 years ago
Dropbox Community Moderator
Thanks! We'll look into it and follow up here with any updates.
- Greg-DB2 years ago
Dropbox Community Moderator
Simma The team is looking into this, but has requested the value of the "folder" variable from the "dbx.files_download_zip_to_file(target, folder)" line that fails for reference. Can you please share that?
Feel free to open an API ticket if you want to share privately.
Thanks in advance!
- Simma2 years agoExplorer | Level 4
The one that fails is the download of the first folder "Simma Gershenson", my personal folders.
- Greg-DB2 years ago
Dropbox Community Moderator
Thanks! We're looking into it.
- Greg-DB2 years ago
Dropbox Community Moderator
Simma Can you reproduce the issue a few more times now please? We've improved some logging on our side which should help us investigate now. Thanks in advance!
- Simma2 years agoExplorer | Level 4
Re-ran it at 2024/08/13 17:52 GMT. Same result, 500 errors (probably as you expected).
- Greg-DB2 years ago
Dropbox Community Moderator
Thank you! We'll follow up here once we have any updates on this.
- Simma2 years agoExplorer | Level 4
I believe our Dropbox subscription ends on Monday but my husband is happy to run a few more tests over the weekend if it would help debug this. As he says, it seems a shame to not have this tool available to others and working since he's written it and perhaps the issue is your end, or perhaps in his code ;-).
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!