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
thaha
11 months agoNew member | Level 2
Error in call to API function "files/list_folder": This function requires its argument in the HTTP r
I am integrating Dropbox with InfoLobby. The integration works fine. I can use the download endpoint successfully (This proves my integration is fine and is connected okay) - https://content.dropb...
Greg-DB
Dropbox Staff
The /2/files/download and /2/files/list_folder endpoints use different formats, so those wold need to be implemented differently and so aren't a good comparison. The /2/files/list_folder endpoint is an RPC style endpoint, meaning that it requires the parameters JSON in the request body.
The error message you received indicates that the API did not receive the parameters in the request body for that API call.
It looks like you have the data for the parameters in "params", so you'll need to make sure that's getting properly sent in the request body. I can't offer help for third party network clients themselves, as they're not made by Dropbox, so I recommend referring to the documentation for your client for information on how to configure it.
Also, I notice from the partial screenshots you shared that the two scenarios you have for /2/files/list_folder do not seem to be configured the same way: the working one has "content-type" set in "headers", and the non-working one has "content-type" set in "attribs". In addition to sending the parameters in the request body, make sure you are correctly setting the "content-type" header to "application/json".
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!