We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
g-eleftheriou
7 years agoNew member | Level 2
File search method returns no match
Hi, i am using the dropbox api long time and didn't have any problems, expect of this one. In one of my tests i uploaded some files through the api and one of them i can't find it afterwards through ...
- 7 years ago
The /2/files/search endpoint is subject to a delay due to indexing, so newly uploaded files won't be immediately returned. That being the case, I don't recommend using this to verify newly uploaded files.
You don't need to call back to check that anyway though, as you can just check the response from the upload call itself to see if it succeeded or failed. If you want to though, using /2/files/get_metadata or /2/files/list_folder[/continue] would be better as they're not subject to the delay.
Greg-DB
Dropbox Staff
The /2/files/search endpoint is subject to a delay due to indexing, so newly uploaded files won't be immediately returned. That being the case, I don't recommend using this to verify newly uploaded files.
You don't need to call back to check that anyway though, as you can just check the response from the upload call itself to see if it succeeded or failed. If you want to though, using /2/files/get_metadata or /2/files/list_folder[/continue] would be better as they're not subject to the delay.
g-eleftheriou
7 years agoNew member | Level 2
Thank you very much for your answer and your suggestions. I know that the search method can not be accurate cause of delay for indexing and i will reconsider my implementation, but still i don't believe it needs hours. Right now i checked again and still gives me no match while i can see this file entry correctly from the list_folder method.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,876 PostsLatest Activity: 3 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!