We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ram s.3
10 years agoNew member | Level 1
POST fail, error #400, Bad HTTP “Content-Type” header
when trying to upload a file into the app folder using POST I get "Bad HTTP “Content-Type” header" error, however when trying to download a file using GET it works, the following is my POST, needless...
Greg-DB
Dropbox Community Moderator
10 years agoThe response includes the Content-Type header that the API received. In both of these additional cases, it seems "; charset=UTF-8" was appended to the Content-Type you specified, resulting in an invalid Content-Type. Firefox is known to do this.
I posted an answer here about Firefox's behavior, including some information on ways to do this properly:
https://stackoverflow.com/questions/33902289/using-dropbox-v2-api-from-browser
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!