We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

A S.13's avatar
A S.13
Explorer | Level 4
6 years ago

Internal server error 500 when attempting to restore files

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, '')

print('Found file to restore ({}): {}'.format(restore_count, item.path_display))
try:
    self.client.files_restore(item.path_display, revision)
except dropbox.exceptions.InternalServerError as e:
    print('Failure: {}'.format(e))
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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.

    • A S.13's avatar
      A S.13
      Explorer | Level 4

      No, there are no files found at all in my /Weber directory.

      • A S.13's avatar
        A S.13
        Explorer | Level 4

        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.

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!