You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Salt's avatar
Salt
New member | Level 2
8 years ago

API throws does not exist exception when file clearly exists

Using Python API.

 

Ever since Sept 26, we have been receiving thousands of ApiError.DownloadError.get_path.is_not_found exceptions a day when trying to retrieve files that are clearly on dropbox.

 

Process:

  1. We ask for listing of what files exist.
  2. Iterate over that list, trying to download the files
  3. Get thousands of error a day stating that the file we were just told existed, does not exist.
  4. We can then try again later and the exact same file path and it works fine.

 

Simplified Example Code:

client = Dropbox(token)
response = client.files_list_folder('', recursive=True)

for entry in response.entries:
    if isinstance(entry, FileMetadata):
        client.files_download(entry.path_display) # << breaks randomly

This is becoming extremely frusterating, causing an excessive amount of additional processing, slowing our processing, and making the system look unreliable to our clients.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Thanks for the report! I see you also opened this as a ticket, so we'll follow up there privately as we'll likely want to look into this more specifically for you.