<?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 Re: list_folder with include_media_info=true return empty entries array. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211546#M10649</link>
    <description>Thanks for the feedback! I'm passing it along.</description>
    <pubDate>Tue, 14 Mar 2017 17:07:52 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-03-14T17:07:52Z</dc:date>
    <item>
      <title>list_folder with include_media_info=true return empty entries array.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211344#M10616</link>
      <description>&lt;P&gt;When calling /2/files/list_folder with include_media_info = true the API is returning an empty set on a folder that I know contains files. &amp;nbsp;I can see the files in the Dropbox website and also in my desktop dropbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I call /2/files/list_folder with include_media_info = false I get the listing of all the files in the folder as I expect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed the issue in my application today and can see the same behaviour when using the API Explorer. &amp;nbsp;My application is built around using this media info so I am certain that the same calls were working previously.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:24:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211344#M10616</guid>
      <dc:creator>Digitalhappy</dc:creator>
      <dc:date>2019-05-29T09:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: list_folder with include_media_info=true return empty entries array.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211446#M10634</link>
      <description>When you set include_media_info=true, files will not be returned until their media information is available. The media information for files isn't always immediately available though, so you can get missing file entries like this. They will get listed once the information is available, but this can take a variable amount of time, especially if there are many files or a lot of activity in the account.</description>
      <pubDate>Mon, 13 Mar 2017 19:29:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211446#M10634</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-13T19:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: list_folder with include_media_info=true return empty entries array.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211500#M10643</link>
      <description>&lt;P&gt;Thanks for the clarification. &amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be helpful if that was explained clearly in the documentation.&lt;BR /&gt;I have to say that I think this is a very poor way for the API to respond in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that the media info might not exist yet.&lt;/P&gt;&lt;P&gt;That's fine. I appreciate that it could take time to generate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I think it is very misleading to return an empty entries array. &amp;nbsp;That indicates that the folder is empty when it is clearly not true. &amp;nbsp;That leaves my application thinking that this folder is empty and that there is nothing to see or do in this folder which is clearly not the case. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Would it not make more sense to return a normal listing dataset containing the same entries as would be returned if include_media_info=false but include something to indicate that the media_info is pending.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could return something like this;&lt;/P&gt;&lt;PRE&gt;"entries": [
  {
    ".tag": "file",
    "name": "myphoto.jpg",
    "path_lower": "/mypath/myphoto.jpg",
    "path_display": "/mypath/myphoto.jpg",
    "parent_shared_folder_id": "1234567890",
    "id": "id:abcdefghijklmn",
    "client_modified": "2015-09-30T09:08:43Z",
    "server_modified": "2017-02-28T15:15:33Z",
    "rev": "1234567890",
    "size": 5685499,
    "media_info": null,
    "sharing_info": {
      "read_only": false,
      "parent_shared_folder_id": "1234567890",
      "modified_by": "dbid:abcdefghijklmno"
    },
    "content_hash": "1234567890abcdefghijklmno"
  }
]&lt;/PRE&gt;&lt;P&gt;At least that way my application can decide how to proceed. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I could flag files with media_info=null for later processing or I could download the images that are missing media_info and generate it myself.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 10:19:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211500#M10643</guid>
      <dc:creator>Digitalhappy</dc:creator>
      <dc:date>2017-03-14T10:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: list_folder with include_media_info=true return empty entries array.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211546#M10649</link>
      <description>Thanks for the feedback! I'm passing it along.</description>
      <pubDate>Tue, 14 Mar 2017 17:07:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/211546#M10649</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-14T17:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: list_folder with include_media_info=true return empty entries array.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/251867#M14501</link>
      <description>I encountered another side effect here, which seems like more of a bug-&lt;BR /&gt;On calling /2/files/list_folder on a folder containing a large number of files, (i.e. requiring pagination in the API response) the API was responding not only with an empty list, but with has_more set to true.&lt;BR /&gt;This was found to be because no files in that folder had metadata available yet.&lt;BR /&gt;&lt;BR /&gt;Unfortunately this is annoying to reproduce on my end and I didn't capture where the 'cursor' field was pointing, but it resulted in the call recurring infinitely .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Nov 2017 04:19:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/251867#M14501</guid>
      <dc:creator>rustoiy</dc:creator>
      <dc:date>2017-11-09T04:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: list_folder with include_media_info=true return empty entries array.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/251959#M14509</link>
      <description>&lt;P&gt;Thanks for the report&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/505191"&gt;@rustoiy&lt;/a&gt;. That does sound like unexpected behavior. If you can share a few responses showing that empty entries list, including the has_more=true and cursor, that would be helpful for us to investigate. (You can share privately here if you'd prefer: &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 17:20:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-with-include-media-info-true-return-empty-entries/m-p/251959#M14509</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-11-09T17:20:31Z</dc:date>
    </item>
  </channel>
</rss>

