<?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 Fetching File in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Fetching-File/m-p/275075#M16419</link>
    <description>&lt;P&gt;I have list the folder and got this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;".tag": "file",&lt;BR /&gt;"name": "sample3.wav",&lt;BR /&gt;"path_lower": "/sample3.wav",&lt;BR /&gt;"path_display": "/sample3.wav",&lt;BR /&gt;"id": "id:YZ5OBevdROAAAAAAAAAAGA",&lt;BR /&gt;"client_modified": "2018-04-26T16:35:00Z",&lt;BR /&gt;"server_modified": "2018-04-30T23:52:25Z",&lt;BR /&gt;"rev": "3b38bd3b0",&lt;/P&gt;
&lt;P&gt;....&lt;BR /&gt;"},&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However when I fetch the file using this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://api.dropboxapi.com/2/file_requests/get" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/file_requests/get&lt;/A&gt; -H "Authorization: Bearer &amp;lt;REDACTED&amp;gt;" -H "Content-Type: application/json" --data "{\"id\": \"YZ5OBevdROAAAAAAAAAAGA\"}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got this error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{"error_summary": "not_found/..", "error": {".tag": "not_found"}}&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 17:14:16 GMT</pubDate>
    <dc:creator>ftenario</dc:creator>
    <dc:date>2020-05-29T17:14:16Z</dc:date>
    <item>
      <title>Fetching File</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Fetching-File/m-p/275075#M16419</link>
      <description>&lt;P&gt;I have list the folder and got this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;".tag": "file",&lt;BR /&gt;"name": "sample3.wav",&lt;BR /&gt;"path_lower": "/sample3.wav",&lt;BR /&gt;"path_display": "/sample3.wav",&lt;BR /&gt;"id": "id:YZ5OBevdROAAAAAAAAAAGA",&lt;BR /&gt;"client_modified": "2018-04-26T16:35:00Z",&lt;BR /&gt;"server_modified": "2018-04-30T23:52:25Z",&lt;BR /&gt;"rev": "3b38bd3b0",&lt;/P&gt;
&lt;P&gt;....&lt;BR /&gt;"},&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However when I fetch the file using this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://api.dropboxapi.com/2/file_requests/get" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/file_requests/get&lt;/A&gt; -H "Authorization: Bearer &amp;lt;REDACTED&amp;gt;" -H "Content-Type: application/json" --data "{\"id\": \"YZ5OBevdROAAAAAAAAAAGA\"}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got this error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{"error_summary": "not_found/..", "error": {".tag": "not_found"}}&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 17:14:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Fetching-File/m-p/275075#M16419</guid>
      <dc:creator>ftenario</dc:creator>
      <dc:date>2020-05-29T17:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching File</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Fetching-File/m-p/275079#M16420</link>
      <description>&lt;P&gt;Nevermind. I'm looking it the wrong way&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 17:26:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Fetching-File/m-p/275079#M16420</guid>
      <dc:creator>ftenario</dc:creator>
      <dc:date>2018-05-04T17:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching File</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Fetching-File/m-p/275089#M16421</link>
      <description>&lt;P&gt;It sounds like you already sorted this out, but for anyone else with the same question, the issue here is that the metadata is for a file, but the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#file_requests-get" target="_self"&gt;/2/file_requests/get&lt;/A&gt; endpoint is for returning the information about a&amp;nbsp;&lt;A href="https://www.dropbox.com/help/files-folders/create-file-request" target="_self"&gt;'file request'&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the metadata for a file itself, one would instead use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank"&gt;/2/files/get_metadata&lt;/A&gt;, or to get the file data, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;/2/files/download&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/674226"&gt;@ftenario&lt;/a&gt;&amp;nbsp;By the way, I redacted it from your post, but for the sake of security, you should disable that access token that you posted originally. You can do so by revoking access to the app entirely, if the access token is for your account, &lt;A href="https://www.dropbox.com/account/connected_apps" target="_blank"&gt;here&lt;/A&gt;. Or, you can disable just this access token &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke" target="_blank"&gt;using the API&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 17:48:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Fetching-File/m-p/275089#M16421</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-05-04T17:48:05Z</dc:date>
    </item>
  </channel>
</rss>

