Hi, I am experiencing an issue with API requests to /files/search_v2 (and /files_search) where files are being returned that are outside of the specified 'path' option that is being sent with the API request.
To explain my use case:
We have a directory /output. When files appear in this directory, we use the Dropbox endpoint /files/search_v2 to locate specific files and then use /files/move_batch_v2 to move them elsewhere in the Dropbox account. These files all share similar traits in their filename, for example they may all end in '-0000.jpg'.
When we perform a search using /files/search_v2, we may use the query "-0000.jpg" and supply the path "/output", which will return matching files in that directory, however it will also return matching files in other directories where we have moved files to.
Why is it that the 'path' option is being ignored in these requests? Is it something to do with some kind of caching on Dropbox's end?