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
billsavastano
6 years agoNew member | Level 2
Search does not return all files
Upon searching for a file with the filter of "File Name" it does not return the file I have just uploaded. The file is being uploaded via the api, and I can confirm the file is there in the dropbox ...
Greg-DB
6 years agoDropbox Staff
That's correct, there can be a delay on search results for recent changes due to indexing lag.
Depending on your use case though, some other endpoints may be more useful to you.
For instance, since you mentioned you're uploading via the API, note that the /2/files/upload endpoint returns the metadata for uploaded file directly in the response for the upload call, so you can use that immediately upon finishing the upload.
Or, if you know the exact file path or ID and need to retrieve the metadata again later, /2/files/get_metadata would be the best way to get it.
Or, if you know what folder(s) you need to list specifically, you can use /2/files/list_folder[/continue] instead.
None of the above are subject to the same delay that the search endpoint is.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 23 hours 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!