<?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: files/download API cannot find any files in any shares in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-download-API-cannot-find-any-files-in-any-shares/m-p/771368#M33739</link>
    <description>&lt;P&gt;Bingo&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 18:26:20 GMT</pubDate>
    <dc:creator>jsimonac</dc:creator>
    <dc:date>2024-05-17T18:26:20Z</dc:date>
    <item>
      <title>files/download API cannot find any files in any shares</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-download-API-cannot-find-any-files-in-any-shares/m-p/771363#M33737</link>
      <description>&lt;P&gt;My company has several applications that interact with the Dropbox API via the python sdk. At some point in the last few weeks, these applications have stopped being able to download files. Neither the application nor the wrapper library that operates the Dropbox python library have changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, one of our applications attempts to access the following path (obfuscated for security):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Application Data/app1/big csv file.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This worked until recently but now fails due to a path not found error. I'm able to replicate this with test files in shares that have no spaces in the path, just to rule that out. This also fails, both using our library and by calling the API directly with curl:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;$ curl --location
      --request POST 'https://content.dropboxapi.com/2/files/download'
      --header 'Dropbox-API-Arg: {"path":"/Development/testfile.txt"}'
      --header 'Authorization: Bearer &amp;lt;redacted&amp;gt;'

{"error_summary": "path/not_found/..", "error": {".tag": "path", "path": {".tag": "not_found"}}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried generating a new access token for the Dropbox-side scoped application. No Joy. I made sure that app has the right scope permissions, it does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has something changed in the past two weeks that would require a change on our side? Am I missing something?&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 18:08:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-download-API-cannot-find-any-files-in-any-shares/m-p/771363#M33737</guid>
      <dc:creator>jsimonac</dc:creator>
      <dc:date>2024-05-17T18:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: files/download API cannot find any files in any shares</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-download-API-cannot-find-any-files-in-any-shares/m-p/771365#M33738</link>
      <description>&lt;P&gt;It sounds like your team may have recently migrated to the updated team space configuration, in which case your team-owned content would now be in your team space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "&lt;A href="https://help.dropbox.com/teams-admins/team-member/team-space-overview" target="_blank" rel="noopener noreferrer"&gt;team space&lt;/A&gt;". That means that by default, the contents of the team space will not be found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can configure API calls to operate in the "team space" instead though, in order to interact with files/folders in the team space. To do so, you'll need to set the "Dropbox-API-Path-Root" header. You can find information on how to use this in &lt;A href="https://developers.dropbox.com/dbx-team-files-guide" target="_blank" rel="noopener noreferrer"&gt;the Team Files Guide&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 18:13:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-download-API-cannot-find-any-files-in-any-shares/m-p/771365#M33738</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-17T18:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: files/download API cannot find any files in any shares</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-download-API-cannot-find-any-files-in-any-shares/m-p/771368#M33739</link>
      <description>&lt;P&gt;Bingo&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 18:26:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-download-API-cannot-find-any-files-in-any-shares/m-p/771368#M33739</guid>
      <dc:creator>jsimonac</dc:creator>
      <dc:date>2024-05-17T18:26:20Z</dc:date>
    </item>
  </channel>
</rss>

