We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
lonehero
6 years agoExplorer | Level 4
Can't use the content.dropboxapi
I want to know what i did wrong in this code. Because it is giving error. I am new to this so plz help.
Error: {"error_summary": "path/not_found/..", "error": {".tag": "path", "path": {".tag": "not...
- 6 years ago
I see that you're trying to call the /2/files/download endpoint, and are getting a "path/not_found" error.
You can look up what each error for any particular endpoint means in the documentation for that endpoint. For example, for /2/files/download, the "path/not_found" error means: "There is nothing at the given path.". That is to say, there no file or folder at that particular path in the connected account.
In the code you shared, that's referring to the "/filepath" value you're supplying. I don't know if that's just an example or if that's the actual value you're sending, but you'll need to make sure you're supplying the right value.
You can build these values manually, or you can get the paths for files by listing the contents of a folder using /2/files/list_folder[/continue].
The Content Access Guide and Namespace Guide may also serve as a useful reference here.
Greg-DB
Dropbox Staff
I see that you're trying to call the /2/files/download endpoint, and are getting a "path/not_found" error.
You can look up what each error for any particular endpoint means in the documentation for that endpoint. For example, for /2/files/download, the "path/not_found" error means: "There is nothing at the given path.". That is to say, there no file or folder at that particular path in the connected account.
In the code you shared, that's referring to the "/filepath" value you're supplying. I don't know if that's just an example or if that's the actual value you're sending, but you'll need to make sure you're supplying the right value.
You can build these values manually, or you can get the paths for files by listing the contents of a folder using /2/files/list_folder[/continue].
The Content Access Guide and Namespace Guide may also serve as a useful reference here.
lonehero
6 years agoExplorer | Level 4
Thanks my issue got solved.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 months agoIf 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!