cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

500 internal Server Error https://api.dropboxapi.com/2/files/list_folder/continue

500 internal Server Error https://api.dropboxapi.com/2/files/list_folder/continue

Cynthia B.2
New member | Level 1

I've using the following endpoint  to retrieve files and folders:

https://api.dropboxapi.com/2/files/list_folder this returns 2000 entries and then get hasmore = true and the cursor. I then user this for the following endpoint :

https://api.dropboxapi.com/2/files/list_folder/continue

Everytime it returns internal server errror with no error detail. Can you help?

 

Thanks

 

37 Replies 37

attic
Explorer | Level 4

FYI, my problem seems to have been resolved/fixed as of Wednesday, January 18th. Thanks for helping to ensure it got fixed!

Greg-DB
Dropbox Staff
Thanks for confirming that, attic. Yes, the issue that volkeru/attic reported should be (mostly) resolved now. You may see some more, that we're working on fixing, but the rate should be much lower now.

jackolicious
New member | Level 2

Hi there, also seeing this happen repeatedly with no way to get around it.

Running:

files_list_folder('', recursive=True,include_media_info=True)

Then getting:

dropbox.exceptions.InternalServerError: InternalServerError('b1b9642f8210d246a2654454721d6469', 500, u'')

 Any help would be greatly appreciated!

Greg-DB
Dropbox Staff
Thanks for the report! We're still working on these remaining errors.

thedeck
Helpful | Level 6

Hello,

 

I'm experiencing the exact same symptoms while calling list_folder/continue.

 

X-Dropbox-Request-Id: 5f1b4cdc32283d77ee8f6fecb42597f0

 

Any ETA on the fix ? the v1 end date is coming fast.

 

Thanks !

jackolicious
New member | Level 2

If it helps, I was able to rectify the problem by:

  1. iterating manually over all folders (instead of the recursive list)
  2. finding the folder (or folders in my case) that would cause a 500 error
  3. delete the folder(s) (send to dropbox trash)
  4. once the complete iterative test is able to be run, restore all folders from dropbox trash
  5. tada! the recursive list_folder works again.

:thinking:

thedeck
Helpful | Level 6

Thanks for the info. Unfortunately it's not really a possible workaround for my usecase :cry:

Greg-DB
Dropbox Staff
Thanks for checking in, thedeck. I don't have an update on that one yet. I'll follow up here once I do.

And thanks for the information, jackolicious. For reference though, while the errors from different people on this thread are reported the same way to the API clients (i.e., a 500 error), they may be caused by different issues on the backend, so the workaround may not work for everyone.

volkeru
Explorer | Level 3
As I stated earlier in this thread it's not necessary to delete files or folders. It's sufficient to rename the folder that is affected by the problem to a different name and rename it back to it's initial name.

sfbrad
Explorer | Level 4

My https://api.dropboxapi.com/2/files/list_folder and the first 257 https://api.dropboxapi.com/2/files/list_folder/continue requests all return a valid response, but on the 258'th list_folder/continue, I get a 500 erorr with an empty response body. At this point, I have downloaded 470,090 file entries and an additional 38,878 folder entries. 

 

Is there some limit (500k?) to the number of entries that can be returned via a single cursor?

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    chuffy New member | Level 2
  • User avatar
    Ashley B.15 Helpful | Level 7
What do Dropbox user levels mean?