I deleted a handful of files and am trying to restore them, but about 1/3 of them give an internal server error when attempting to do so. Below is the request ID and below that is the code being used. It's very simple code for this piece.
Found file to restore (212): /weber/cs 2350/www/p2/template/cover
Failure: InternalServerError('95487d3c9fdf5a83d000aac47a26b63a', 500, '')
Thanks for the report. We'll look into it.
For reference, are you able to restore these same files (that give this 500 on the API) via the web site? Note that you can only restore deleted files for a limited amount of time after deleting them. The length of time depends on what plan you have.
Correction: If I specify myself in the 'Deleted By' folder, it DOES find the files. I'm going to attempt to restore them via that method, but I would still like to know the reason for the 500 errors so I can avoid them in the future.
I love Dropbox's API, but I'd truly like it to be consistent and reliable.
Restoring via the web site has restored 26 GB worth of data, but I had about 3 times that much. Still going to attempt to restore via the API
The error handling on the API should be fixed now. This case should no longer return a 500 and will instead properly return a 409 for revisions that can't be restored.
Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.
Not the right discussion for you? Find out what else our Community has to say about API Support.
Or, search our Help Center for even more.