Forum Discussion

CFGtech's avatar
CFGtech
Helpful | Level 5
7 years ago

Download a file using the api

Hi, we have a problem to download from a file using the api.

At first we used method files/list_folder, and it works. But after we tried to download file from existing path by id:

https://content.dropboxapi.com/2/files/download

Response with error:

 {"error_summary": "path/not_found/..", "error": {".tag": "path", "path": {".tag": "not_found"}}} 

How it possible that method files/list_folder returns a path and id of files, but  files/download has an error.

We are using Dropbox Business Advanced.

 

Thank you for response.

2 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    The specific parameters and context for the API calls here likely matter, so we'll follow up with you in your support ticket to troubleshoot this privately. 

  • CFGtech's avatar
    CFGtech
    Helpful | Level 5
    7 years ago

    Thanks for answer. We resolved the problem, there was missing Dropbox-API-Path-Root.

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!