<?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: Cannot access shared file in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-access-shared-file/m-p/627529#M29021</link>
    <description>&lt;P&gt;It sounds like you're attempting to call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_blank"&gt;/2/files/get_temporary_link&lt;/A&gt; on a file that has been individually shared with you, i.e., a "received" file, such as listed by &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files" target="_blank"&gt;/2/sharing/list_received_files&lt;/A&gt;. As this isn't mounted anywhere in your account, this 'path/not_found' error is expected, since the file is not available in your account's file/folder structure and so cannot be accessed that way. This would also apply to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_blank"&gt;/2/files/download&lt;/A&gt;. Adding a shared folder containing the file mounts that shared folder in your account, making the file available in your account, so the calls can then succeed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't believe this behavior changed recently. You can instead use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file" target="_self" rel="noopener noreferrer"&gt;/2/sharing/get_shared_link_file&lt;/A&gt; and pass in the "preview_url" (e.g., from&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files" target="_blank"&gt;/2/sharing/list_received_files&lt;/A&gt;) as the "url" to download the file though.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 12:41:51 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-10-06T12:41:51Z</dc:date>
    <item>
      <title>Cannot access shared file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-access-shared-file/m-p/627478#M29020</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to get the temporary URL using the "get_temporary_link " with an id from a file that is shared with me and every time I got this response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;409: {"error_summary": "path/not_found/.", "error": {".tag": "path", "path": {".tag": "not_found"}}}.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I share the folder of the file, the request will be successful. Did you change recently this flow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I discovered also the download file is not working anymore. The endpoint that I tried is&amp;nbsp; "/files/download".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 09:13:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-access-shared-file/m-p/627478#M29020</guid>
      <dc:creator>jorjbotezat</dc:creator>
      <dc:date>2022-10-06T09:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access shared file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-access-shared-file/m-p/627529#M29021</link>
      <description>&lt;P&gt;It sounds like you're attempting to call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_blank"&gt;/2/files/get_temporary_link&lt;/A&gt; on a file that has been individually shared with you, i.e., a "received" file, such as listed by &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files" target="_blank"&gt;/2/sharing/list_received_files&lt;/A&gt;. As this isn't mounted anywhere in your account, this 'path/not_found' error is expected, since the file is not available in your account's file/folder structure and so cannot be accessed that way. This would also apply to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_blank"&gt;/2/files/download&lt;/A&gt;. Adding a shared folder containing the file mounts that shared folder in your account, making the file available in your account, so the calls can then succeed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't believe this behavior changed recently. You can instead use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file" target="_self" rel="noopener noreferrer"&gt;/2/sharing/get_shared_link_file&lt;/A&gt; and pass in the "preview_url" (e.g., from&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files" target="_blank"&gt;/2/sharing/list_received_files&lt;/A&gt;) as the "url" to download the file though.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 12:41:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-access-shared-file/m-p/627529#M29021</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-10-06T12:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access shared file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-access-shared-file/m-p/627532#M29022</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1546656"&gt;@jorjbotezat&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I try to get the temporary URL using the "get_temporary_link " ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I share the &lt;U&gt;folder of the file&lt;/U&gt;, the request will be successful. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1546656"&gt;@jorjbotezat&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Are you certain your description matches exactly what you have done? What actually means "folder of the file"? I'm assuming the folder is the one containing the file. In all cases &lt;A title="Get a temporary link to stream content of a file" href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_blank" rel="noopener"&gt;/2/files/get_temporary_link&lt;/A&gt; can be used only for files!!! Trying to use it for a folder will result to error, something like:&lt;/P&gt;&lt;PRE&gt;{
  "error_summary": "path/&lt;U&gt;not_file&lt;/U&gt;/...",
  "error": {
    ".tag": "path",
    "path": {
      ".tag": "&lt;U&gt;not_file&lt;/U&gt;"
    }
  }
}&lt;/PRE&gt;&lt;P&gt;Describe what actually you are doing and provide a way (exact steps - sequence of calls) to reproduce the issue (whatever it is). "not_found" usually means you're trying to point something that doesn't exist. Did you check that your file exists actually and the credentials (you use) have granted access to there?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 12:55:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-access-shared-file/m-p/627532#M29022</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-10-06T12:55:25Z</dc:date>
    </item>
  </channel>
</rss>

