Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Ranjodh S.
10 years agoNew member | Level 1
Error 4xx while downloading a file through API which has second word's intials H for eg. (DX Haley)
We are using Dropbox API with Oauth 2.0 to download a file, Its giving us the Error 4xx page. The name of the file is 'DX Haley'. It happens only when the second word in the file name start with let...
Greg-DB
Dropbox Community Moderator
10 years agoWe've done some additional investigation on this, and to summarize:
Your respective apps/libraries are apparently not properly escaping the URI path, which results in technically invalid HTTP requests. (That is, they contain unescaped spaces in the URI.)
Our web server is somewhat forgiving of these malformed requests normally and is able to service the request, except when the unescaped space is followed by an "H", as that causes a different behavior in the web server's HTTP request parser.
The solution is to make sure your app always properly encodes the path in the URI. (This applies to more than just spaces.)
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!