You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Ross82
11 months agoExplorer | Level 4
Error when uploading files via API
Hi,
I recently started having issues uploading files to dropbox via API. The error returned is
HTTP/1.1 400 Bad Request
The output via curl is as below
* using HTTP/1.x
> POST ...
- 11 months ago
Hi Ross82,
Such an error appear when you have something wrong in your parameters. If you haven't reformatted your headers to post them here, then you have wrong HTTP header (every header in the header block should appear in a single line - your arguments are spread on multiple lines - bad syntax). If not exactly this, then there is something similar. In all cases there is content:
Ross82 wrote:...< Content-Type: text/html...A human readable text that explains in details what's wrong. Something you have cut. 😉 In other words - you have ignored the answer of your question. 😀
Hope this gives direction.
Здравко
Legendary | Level 20
Hi Ross82,
Such an error appear when you have something wrong in your parameters. If you haven't reformatted your headers to post them here, then you have wrong HTTP header (every header in the header block should appear in a single line - your arguments are spread on multiple lines - bad syntax). If not exactly this, then there is something similar. In all cases there is content:
Ross82 wrote:...< Content-Type: text/html...
A human readable text that explains in details what's wrong. Something you have cut. 😉 In other words - you have ignored the answer of your question. 😀
Hope this gives direction.
Ross82
11 months agoExplorer | Level 4
Thank you very very muc. This solved my issue. I have been using the code for over 2 years with no issues. Just yesterday the issue began. But I am thankful for the solution. It is now working properly. Many thanks
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,911 PostsLatest Activity: 6 hours 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!