Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
VijayKumar E
4 years agoExplorer | Level 3
Bad HTTP "Content-Type" header from the Dropbox API
When I try a request to Dropbox API(v2), I am getting this error ,
"message": "Error in call to API function "users/get_current_account": Bad HTTP "Content-Type\" header: "application/x-www-fo...
Greg-DB
Dropbox Community Moderator
4 years agoЗдравко is correct, it looks like your code/client is just sending the wrong "Content-Type" request header, and these endpoints don't take any parameters, so that header isn't required anyway. You mentioned you are attempting to set the header correctly, but it's possible whatever HTTPS client you're using is overriding that. You may need to refer to the documentation for your client for information on configuring it accordingly.
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!