We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
Naga Abhinaya T
8 years agoExplorer | Level 4
Error Summaries
Hi,
Is there any documentation available, for list of error codes and the sample error responses? This will be helpful to handle errors and Exception. Thanks in advance
The documentation does cover each error message, but note that errors are nested, so you need to click through to expand the ones you want to read about.
For example, to see the `malformed_path` error (and others) for /2/files/get_metadata, click on the `LookupError` type listed for the `path` error in the "ERRORS" section.
6 Replies
- Greg-DB8 years ago
Dropbox Community Moderator
Yes, we have documentation for each of our official SDKs, as well as the HTTP interface itself.
- Naga Abhinaya T8 years agoExplorer | Level 4
Hi Greg,
That was useful. However I am using REST APIs only to access Dropbox data of the authenticated users. I need sample error responses like
{
"error_summary":"path/malformed_path/",
"error":{
"reason":{
".tag":"malformed_path"
},
"upload_session_id":"",
".tag":"path"
}
}
This is one possible error response and there are many such error responses that can happen. Is there a complete docuemntation of possible errors and their error response?
- Greg-DB8 years ago
Dropbox Community Moderator
The documentation covers every possible error, but it doesn't include full sample JSON for each one. I'll be sure to pass this along as feedback. - Naga Abhinaya T8 years agoExplorer | Level 4
Greg,
The documentation covers every possible error codes and not errors. I could not find the "malformed_path" error in any of the documentations. Is there any documentation listing the possible errors and their error_messages. If possible, can you add these details to the documentation?
- Greg-DB8 years ago
Dropbox Community Moderator
The documentation does cover each error message, but note that errors are nested, so you need to click through to expand the ones you want to read about.
For example, to see the `malformed_path` error (and others) for /2/files/get_metadata, click on the `LookupError` type listed for the `path` error in the "ERRORS" section.
- Naga Abhinaya T8 years agoExplorer | Level 4Thanks Greg!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 3 hours ago
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 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!