<?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: 2/files/get_metadata 409 path/not_found in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272143#M16156</link>
    <description>&lt;P&gt;We have had multiple instances of this, where for eg.&amp;nbsp;in a Team folder on which a Group had access, a user who was always part of this group uploads a file, we get the event and the fileId, and we try to run get_metadata on the file Id, with as-user as the same user, it was failing with 409 path not found.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What information would you need the next time we run into the same issue?&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 20:22:18 GMT</pubDate>
    <dc:creator>Info V.1</dc:creator>
    <dc:date>2018-04-11T20:22:18Z</dc:date>
    <item>
      <title>2/files/get_metadata 409 path/not_found</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272046#M16147</link>
      <description>&lt;P&gt;We have been seeing the following 409 error recently on multiple customers where get_metadata fails with 409 path/not found. But later when diagnosing the problem the same call works fine. Is there a possibility that this API call fail soon(like couple of minutes) after the file uploaded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST \
  https://api.dropboxapi.com/2/files/get_metadata \
  -H 'authorization: Bearer &amp;lt;Redacted&amp;gt;' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'dropbox-api-select-user: dbmid:AAA8Po3CW3EaZ70sT3HalBKsIgTG91nKmgI' \
  -d '{
      "path": "id:YKwssHaJWqAAAAAAAAAtKw",
      "include_has_explicit_shared_members": true,
      "include_deleted": true
}'&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Failure response&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;HTTP/1.1 409 Conflict

responseBody='{"error_summary": "path/not_found/...", "error": {".tag": "path", "path": {".tag": "not_found"}}}',

respHeaders=[
Server: nginx, Date: Fri, 06 Apr 2018 15:21:42 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Content-Security-Policy: sandbox; frame-ancestors 'none'
X-Dropbox-Request-Id: b04b42db9cead7dd8f2fc966e0d63ab3
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Content-Disposition: attachment; filename='error'
]&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Success response body,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{
    ".tag": "file",
    "name": "**redacted**",
    "path_lower": "**redacted**",
    "path_display": "**redacted**",
    "parent_shared_folder_id": "2830010752",
    "id": "id:YKwssHaJWqAAAAAAAAAtKw",
    "client_modified": "2016-08-19T00:05:39Z",
    "server_modified": "2018-04-06T14:42:39Z",
    "rev": "1d55a8ae8980",
    "size": 1475,
    "sharing_info": {
        "read_only": false,
        "parent_shared_folder_id": "2830010752",
        "modified_by": "dbid:AAAHCnrxGJ80Wp57W0bGPk5jG9iQKCLHxOI"
    },
    "has_explicit_shared_members": false,
    "content_hash": "b5150c9c0885975187a3a3a80c4ae63c94b52cf8a51ecca702220472753e48cf"
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:14:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272046#M16147</guid>
      <dc:creator>Info V.1</dc:creator>
      <dc:date>2019-05-29T09:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: 2/files/get_metadata 409 path/not_found</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272118#M16155</link>
      <description>Thanks for the report! There shouldn't be a delay for getting file metadata like this after a file is uploaded.&lt;BR /&gt;&lt;BR /&gt;I just looked into this, and as far as I can tell, that error was correct at that time. I can't disclose private account information of course, but it is possible for users to gain/lose access to files or folders over time, which would explain changing API results.&lt;BR /&gt;&lt;BR /&gt;For example, a user can add or remove (or be added or removed from) a shared folder at any point in time, which would change whether or not they have access to that file's metadata.</description>
      <pubDate>Wed, 11 Apr 2018 17:11:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272118#M16155</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-11T17:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: 2/files/get_metadata 409 path/not_found</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272143#M16156</link>
      <description>&lt;P&gt;We have had multiple instances of this, where for eg.&amp;nbsp;in a Team folder on which a Group had access, a user who was always part of this group uploads a file, we get the event and the fileId, and we try to run get_metadata on the file Id, with as-user as the same user, it was failing with 409 path not found.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What information would you need the next time we run into the same issue?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 20:22:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272143#M16156</guid>
      <dc:creator>Info V.1</dc:creator>
      <dc:date>2018-04-11T20:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: 2/files/get_metadata 409 path/not_found</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272148#M16157</link>
      <description>I just double checked this, and again there doesn't seem to have been an issue here. It's important to keep in mind that users/shared folder owners can move around content, and change permissions, at any point in time. It's also possible for any particular user to not actually be a member of a team folder (or of a group with access to a team folder).&lt;BR /&gt;&lt;BR /&gt;For example, a user can upload a file&amp;nbsp;in a shared folder, and then someone else move that file to a different shared folder that the user doesn't have access to (yet, perhaps).</description>
      <pubDate>Wed, 11 Apr 2018 21:28:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/272148#M16157</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-11T21:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: 2/files/get_metadata 409 path/not_found</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/715545#M31684</link>
      <description>&lt;P&gt;I noticed a file name used in code was deleted on Dropbox, so its details couldn't be fetched in code, which triggered this 409 error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 23:31:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-files-get-metadata-409-path-not-found/m-p/715545#M31684</guid>
      <dc:creator>Inderjeetdev</dc:creator>
      <dc:date>2023-09-21T23:31:15Z</dc:date>
    </item>
  </channel>
</rss>

