<?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 2/files/get_metadata 409 with ID path in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-with-ID-path/m-p/619274#M28518</link>
    <description>&lt;P&gt;We are trying to access a file metadata using the above endpoint with the following request:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;"request": {&lt;BR /&gt;"url": "&lt;A href="https://api.dropboxapi.com/2/files/get_metadata" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/get_metadata&lt;/A&gt; ",&lt;BR /&gt;"body": {&lt;BR /&gt;"include_deleted": false,&lt;BR /&gt;"include_has_explicit_shared_members": false,&lt;BR /&gt;"include_media_info": false,&lt;BR /&gt;"path": "id:1tGO8wuhnv8AAAAAAAAAGQ"&lt;BR /&gt;},&lt;BR /&gt;"config": {&lt;BR /&gt;"headers": {&lt;BR /&gt;"Authorization": "Bearer &amp;lt;REDACTED&amp;gt;"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"response": {&lt;BR /&gt;"status": 409,&lt;BR /&gt;"status_text": "Conflict",&lt;BR /&gt;"data": {&lt;BR /&gt;"error_summary": "path/not_found/...",&lt;BR /&gt;"error": {&lt;BR /&gt;".tag": "path",&lt;BR /&gt;"path": {&lt;BR /&gt;".tag": "not_found"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"headers": {&lt;BR /&gt;"cache-control": "no-cache",&lt;BR /&gt;"content-security-policy": "sandbox allow-forms allow-scripts",&lt;BR /&gt;"x-content-type-options": "nosniff",&lt;BR /&gt;"content-type": "application/json",&lt;BR /&gt;"accept-encoding": "identity,gzip",&lt;BR /&gt;"date": "Tue, 30 Aug 2022 21:45:06 GMT",&lt;BR /&gt;"server": "envoy",&lt;BR /&gt;"content-length": "97",&lt;BR /&gt;"x-dropbox-response-origin": "far_remote",&lt;BR /&gt;"x-dropbox-request-id": "a6afca255af5441ba933b901c94b1494",&lt;BR /&gt;"connection": "close"&lt;BR /&gt;}&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were under the impression that this should work based off the documentation:&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is to resolve an issue where a file is being retrieved by someone who has full edit/read access to a file, but the file was made and shared by an admin, in which case the API get_shared_link_metadata doesn't return the path information so we can't use that.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 21:52:56 GMT</pubDate>
    <dc:creator>nsadeh</dc:creator>
    <dc:date>2022-08-30T21:52:56Z</dc:date>
    <item>
      <title>2/files/get_metadata 409 with ID path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-with-ID-path/m-p/619274#M28518</link>
      <description>&lt;P&gt;We are trying to access a file metadata using the above endpoint with the following request:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;"request": {&lt;BR /&gt;"url": "&lt;A href="https://api.dropboxapi.com/2/files/get_metadata" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/get_metadata&lt;/A&gt; ",&lt;BR /&gt;"body": {&lt;BR /&gt;"include_deleted": false,&lt;BR /&gt;"include_has_explicit_shared_members": false,&lt;BR /&gt;"include_media_info": false,&lt;BR /&gt;"path": "id:1tGO8wuhnv8AAAAAAAAAGQ"&lt;BR /&gt;},&lt;BR /&gt;"config": {&lt;BR /&gt;"headers": {&lt;BR /&gt;"Authorization": "Bearer &amp;lt;REDACTED&amp;gt;"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"response": {&lt;BR /&gt;"status": 409,&lt;BR /&gt;"status_text": "Conflict",&lt;BR /&gt;"data": {&lt;BR /&gt;"error_summary": "path/not_found/...",&lt;BR /&gt;"error": {&lt;BR /&gt;".tag": "path",&lt;BR /&gt;"path": {&lt;BR /&gt;".tag": "not_found"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"headers": {&lt;BR /&gt;"cache-control": "no-cache",&lt;BR /&gt;"content-security-policy": "sandbox allow-forms allow-scripts",&lt;BR /&gt;"x-content-type-options": "nosniff",&lt;BR /&gt;"content-type": "application/json",&lt;BR /&gt;"accept-encoding": "identity,gzip",&lt;BR /&gt;"date": "Tue, 30 Aug 2022 21:45:06 GMT",&lt;BR /&gt;"server": "envoy",&lt;BR /&gt;"content-length": "97",&lt;BR /&gt;"x-dropbox-response-origin": "far_remote",&lt;BR /&gt;"x-dropbox-request-id": "a6afca255af5441ba933b901c94b1494",&lt;BR /&gt;"connection": "close"&lt;BR /&gt;}&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were under the impression that this should work based off the documentation:&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is to resolve an issue where a file is being retrieved by someone who has full edit/read access to a file, but the file was made and shared by an admin, in which case the API get_shared_link_metadata doesn't return the path information so we can't use that.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 21:52:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-with-ID-path/m-p/619274#M28518</guid>
      <dc:creator>nsadeh</dc:creator>
      <dc:date>2022-08-30T21:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: 2/files/get_metadata 409 with ID path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-with-ID-path/m-p/619441#M28523</link>
      <description>&lt;P&gt;It sounds like the file in question may be in 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;". By default, API calls operate in the "member folder" of the connected account, not the team space, so by default files in the team space will not be found and will result in an error like this. You can configure API calls to operate in the team space instead though. To do so, you'll need to set the "Dropbox-Api-Path-Root" header. You can find information on 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>Wed, 31 Aug 2022 13:55:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-with-ID-path/m-p/619441#M28523</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-08-31T13:55:07Z</dc:date>
    </item>
  </channel>
</rss>

