Forum Discussion

gcx's avatar
gcx
New member | Level 2
6 years ago
Solved

Error 409 with download_zip on shared link subfolders

I am receiving HTTP error 409 when using https://content.dropboxapi.com/2/files/download_zip. I am using the folderIDs gathered from files_list_folder, based on a shared link. The below is how I ...
  • Greg-DB's avatar
    6 years ago

    First, for reference, whenever you get an error from the Dropbox API, be sure to print out the response body as it may contain a more useful error message.

    Anyway, unfortunately, the Dropbox API does not currently support getting a zip download of a subfolder based on the id of the subfolder returned from listing the shared link like this (unless the connected account happens to contain the folder anyway). I'll pass this along as a feature request, but I can't promise if or when that might be implemented. 

    Note that you can download the top-level folder as a zip from the shared link as documented here, but that doesn't provide a mechanism for downloading a specific subfolder.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!