Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Greetings, I have experienced a rather perplexing situation. I'm using Pipedream workflow steps to initiate Dropbox api calls, and they have been working perfectly. I have a Dropbox directory where I place some text files that I use as parameter files. I have successfully processed and downloaded one file from the directory in one of my workflows, but in another workflow, using the same calls as before but with a different filename, it returns "file not found". I even tried the same filename as before, and got the same results. I successfully executed the call to list files in the folder and the file exists, and I tried to use that reference to the file and still file not found.
Here's the code that I use in the first workflow (which works fine),
-------------------------------------------
async (events, steps, auths) => {
The error from the Dropbox API here "Error in call to API function "files/search": request body: missing required field 'query'" indicates that the call was rejected because it did not include the required parameter "query".
From the code you shared though, I see you are setting the "query" parameter for the "filesSearch" method, so the SDK should be setting that in the request.
Can you check what the value of 'params.query' is? If it's not defined, that could result in this issue.
Hi there!
If you need more help you can view your support options (expected response time for a 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!