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

toki4004's avatar
toki4004
Helpful | Level 5
2 years ago

Error in search... options: expected array, got string

I am trying to use search to find any file with txt extension inside a particular path. I get the error: "Error in call to API function "files/search_v2": options: expected array, got string".  What ...
  • Здравко's avatar
    2 years ago

    Yes, let's think a bit: you have parameter name "file_extensions" 😉 (plural, not singular)! Here a list of extensions is expected, so even when there is single extension, this extension has to be an only entry in a list and not raw string (as noted in the error message too).

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,883 PostsLatest Activity: 3 hours ago
326 Following

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!