Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
ncw
9 years agoCollaborator | Level 8
/1/metadata requests returning 400 error for difficult file name
The integration tests for rclone ( http://rclone.org ) have started failing for Dropbox. I haven't changed my code so I suspect something has changed at Dropbox.
This shows up as a failed metadata request which returns a 400 error with no explanation in the body.
I'm deliberately testing a "difficult" file name here `hello? sausage/êé/Hello, 世界/ " ' @ < > & ?/z.txt`.
I suspect my "difficult" file name might be confusing something.
2016/04/24 10:52:08 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2016/04/24 10:52:08 HTTP REQUEST
2016/04/24 10:52:08 GET /1/metadata%2Fauto%2Frclone-test-yeyazis5kuqixus0cewejez0%2Fhello%3F%20sausage%2F%C3%AA%C3%A9%2FHello%2C%20%E4%B8%96%E7%95%8C%2F%20%22%20%27%20%40%20%3C%20%3E%20%26%20%3F%2Fz.txt?file_limit=10000&include_deleted=false&list=false&locale=en HTTP/1.1
Host: api.dropbox.com
User-Agent: Go-http-client/1.1
Authorization: Bearer XXX
Accept-Encoding: gzip
2016/04/24 10:52:08 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2016/04/24 10:52:08 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2016/04/24 10:52:08 HTTP RESPONSE
2016/04/24 10:52:08 HTTP/1.1 400 Bad Request
Connection: keep-alive
Content-Type: text/plain; charset=utf-8
Date: Sun, 24 Apr 2016 09:52:08 GMT
Server: nginx
X-Dropbox-Request-Id: d8bc2d70a3069accc781556808d9dca0
Content-Length: 0
2016/04/24 10:52:08 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2016/04/24 10:52:08 hello? sausage/êé/Hello, 世界/ " ' @ < > & ?/z.txt: Error reading file: unexpected HTTP status code 400
3 Replies
Replies have been turned off for this discussion
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks for the report! We're looking into it.
- Greg-DB9 years ago
Dropbox Community Moderator
This should be fixed now. Please let me know if you're still seeing any issues.
- ncw9 years agoCollaborator | Level 8
I confirm this is fixed now.
Super impressive turn-around :-)
Thanks
Nick
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!