cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and 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: 

API throws does not exist exception when file clearly exists

API throws does not exist exception when file clearly exists

Salt
New member | Level 2

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.

1 Reply 1

Greg-DB
Dropbox 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.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?