We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Asanchez8
9 years agoExplorer | Level 4
Bad request (400) if made in my server
Hello. I am barely starting with the dropbox api v2 to make requests to my dropbox account. However, i have a problem with all requests made in my server. I can make functioning requests on JSFiddle...
Greg-DB
Dropbox Community Moderator
9 years agoThat error message indicates that the Dropbox API couldn't parse the contents of the request body as JSON to read the parameters. Sending an empty request body is one way to cause that.
Can you elaborate on the environment you're using to run this on your server? If you can share the steps to reproduce the issue, I'll be happy to take a look.
Can you elaborate on the environment you're using to run this on your server? If you can share the steps to reproduce the issue, I'll be happy to take a look.
- Asanchez89 years agoExplorer | Level 4
Never mind. It turns out it was a "necessary" and old script linked which was modifying ajax requests, not made by me. Horrible.
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!