Forum Discussion

CFGtech's avatar
CFGtech
Helpful | Level 5
6 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.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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

      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.5,947 PostsLatest Activity: 9 hours ago
351 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!