<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Search does not return all files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Search-does-not-return-all-files/m-p/363360#M20651</link>
    <description>&lt;P&gt;Upon searching for a file with the filter of "File Name" it does not return the file I have just uploaded. &amp;nbsp;The file is being uploaded via the api, and I can confirm the file is there in the dropbox web UI. &amp;nbsp;But when the api searches for the file, it does not find the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For exmple I have the file I need in folder 2019-09-04, I get the list of folders:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ ‘2019-09-03’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-04’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-05’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-06’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-07’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-08’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-09’ ]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then I search for the file, and return the path of the files:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ ‘/5d26122dfdcf1b03004644c0/2019-09-03/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-09-02/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-09-01/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-31/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-30/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-29/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-27/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-28/Tues-5d2e14’ ]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The file I need is not found in the 09-04 folder, even though I can confirm its there.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Some have suggested that dropbox indexing the files may take a while, because if I wait approximately 30 minutes the same search will find the file in 09-04 succesfully.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any help is appreciated!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2019 06:17:41 GMT</pubDate>
    <dc:creator>billsavastano</dc:creator>
    <dc:date>2019-09-05T06:17:41Z</dc:date>
    <item>
      <title>Search does not return all files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Search-does-not-return-all-files/m-p/363360#M20651</link>
      <description>&lt;P&gt;Upon searching for a file with the filter of "File Name" it does not return the file I have just uploaded. &amp;nbsp;The file is being uploaded via the api, and I can confirm the file is there in the dropbox web UI. &amp;nbsp;But when the api searches for the file, it does not find the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For exmple I have the file I need in folder 2019-09-04, I get the list of folders:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ ‘2019-09-03’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-04’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-05’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-06’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-07’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-08’,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;‘2019-09-09’ ]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then I search for the file, and return the path of the files:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ ‘/5d26122dfdcf1b03004644c0/2019-09-03/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-09-02/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-09-01/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-31/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-30/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-29/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-27/Tues-5d2e14’,&lt;BR /&gt;&amp;nbsp;‘/5d26122dfdcf1b03004644c0/2019-08-28/Tues-5d2e14’ ]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The file I need is not found in the 09-04 folder, even though I can confirm its there.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Some have suggested that dropbox indexing the files may take a while, because if I wait approximately 30 minutes the same search will find the file in 09-04 succesfully.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any help is appreciated!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 06:17:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Search-does-not-return-all-files/m-p/363360#M20651</guid>
      <dc:creator>billsavastano</dc:creator>
      <dc:date>2019-09-05T06:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search does not return all files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Search-does-not-return-all-files/m-p/363370#M20652</link>
      <description>&lt;P&gt;That's correct, there can be a delay on search results for recent changes due to indexing lag.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on your use case though, some other endpoints may be more useful to you.&lt;/P&gt;
&lt;P&gt;For instance, since you mentioned you're uploading via the API, note that the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;/2/files/upload&lt;/A&gt; 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.&lt;/P&gt;
&lt;P&gt;Or, if you know the exact file path or ID and need to retrieve the metadata again later, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt; would be the best way to get it.&lt;/P&gt;
&lt;P&gt;Or, if you know what folder(s) you need to list specifically, you can use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/continue&lt;/A&gt;] instead.&lt;/P&gt;
&lt;P&gt;None of the above are subject to the same delay that the search endpoint is.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 17:54:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Search-does-not-return-all-files/m-p/363370#M20652</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-09-04T17:54:04Z</dc:date>
    </item>
  </channel>
</rss>

