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
autratec
5 years agoHelpful | Level 6
Error in call to API function "files/list_folder": request body: could not decode input as JSON
Looks like this question being raised before. i did try postman and able to pass the API message to box api and return sucessfully.
i am integrate MT4/MQL4 language with Dropbox. The code is li...
Здравко
5 years agoLegendary | Level 20
Hi autratec,
The only secure way to investigate what's going on would be take a look on the raw http stream and see what's the problem there. As far as I can see, there are 2 possible trouble points. In 'out_header' you miss the trailing separator, so header block and the request body could stick together. Add '\r\n' at the end! Next, your 'body' contains not only the actual body, but the string termination symbol at the end, also. I'm not sure, but the server could get confused because of. Strip it using something like:
ArrayResize(body,ArraySize(body)-1);
just before call to WebRequest.
Hope this gives the right direction.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 6 minutes ago
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 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!