<?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 file_ids are pointing to same file in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326533#M19137</link>
    <description>&lt;P&gt;Thanks for your patience while I checked on this for you. While file IDs uniquely identify files, i.e., every file ID identifies a file, and no two files share a file ID, it is possible for two different file IDs to essentially "point" to a single file.&lt;/P&gt;
&lt;P&gt;It looks like that's what's happening here. Because of the sharing, unsharing, and restoring operations you performed, you&amp;nbsp;received multiple file IDs over time, but there is only one latest/active instance of the file now. So, querying for either the past file ID or the current one points to the latest active instance of the file.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Feb 2019 17:19:24 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-02-01T17:19:24Z</dc:date>
    <item>
      <title>2 file_ids are pointing to same file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326316#M19126</link>
      <description>&lt;P&gt;"id:sQ8JqHEl8OkAAAAAAAIbNQ" and "id:sQ8JqHEl8OkAAAAAAAIbSg" both point to the same file. I received file_delete event with&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;id:sQ8JqHEl8OkAAAAAAAIbSg" and received file_download event for same file with&amp;nbsp;"id:sQ8JqHEl8OkAAAAAAAIbNQ".&amp;nbsp;Why do we see this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-01-31 at 11.21.26 AM.png" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/8605iAB1EC6B9D4F6A1A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-01-31 at 11.21.26 AM.png" alt="Screen Shot 2019-01-31 at 11.21.26 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-01-31 at 11.22.00 AM.png" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/8606i0B1648A2874113F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-01-31 at 11.22.00 AM.png" alt="Screen Shot 2019-01-31 at 11.22.00 AM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:08:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326316#M19126</guid>
      <dc:creator>Info V.1</dc:creator>
      <dc:date>2019-05-29T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: 2 file_ids are pointing to same file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326352#M19127</link>
      <description>&lt;P&gt;Thanks for the post. I'll check on this for you and follow up here when I have some information for you.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 21:53:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326352#M19127</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-01-31T21:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: 2 file_ids are pointing to same file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326533#M19137</link>
      <description>&lt;P&gt;Thanks for your patience while I checked on this for you. While file IDs uniquely identify files, i.e., every file ID identifies a file, and no two files share a file ID, it is possible for two different file IDs to essentially "point" to a single file.&lt;/P&gt;
&lt;P&gt;It looks like that's what's happening here. Because of the sharing, unsharing, and restoring operations you performed, you&amp;nbsp;received multiple file IDs over time, but there is only one latest/active instance of the file now. So, querying for either the past file ID or the current one points to the latest active instance of the file.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 17:19:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326533#M19137</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-01T17:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: 2 file_ids are pointing to same file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326762#M19142</link>
      <description>&lt;P&gt;Thanks for you response Greg,&lt;/P&gt;&lt;P&gt;We (Vera Security) have integration with Dropbox and&amp;nbsp;use the IDs to uniquely identify the file in our system. We listens to the DB events, use the ID to find the file in our system and then perform the corresponding action.&lt;/P&gt;&lt;P&gt;Now if the ID is changed then we cannot find the corresponding file in our system and it breaks the integration.&lt;/P&gt;&lt;P&gt;Can you help us better understand what exactly causes the new ID creation? I have tried sharing, unsharing, delete / restore but I am unable to reproduce it again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 22:39:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326762#M19142</guid>
      <dc:creator>Info V.1</dc:creator>
      <dc:date>2019-02-02T22:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: 2 file_ids are pointing to same file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326871#M19149</link>
      <description>&lt;P&gt;We found a consistent way to reproduce the issue.&lt;/P&gt;&lt;DIV class="z-index-content"&gt;&lt;DIV class="aui-page-panel"&gt;&lt;DIV class="aui-page-panel-inner"&gt;&lt;DIV class="issue-navigator pin-sidebar-enabled"&gt;&lt;DIV class="content"&gt;&lt;DIV class="issue-view"&gt;&lt;DIV class="issue-container"&gt;&lt;DIV class="issue-edit-form"&gt;&lt;DIV class="issue-body-content"&gt;&lt;DIV class="aui-group issue-body"&gt;&lt;DIV class="aui-item issue-main-column"&gt;&lt;DIV class="module toggle-wrap"&gt;&lt;DIV class="mod-content"&gt;&lt;DIV class="field-ignore-highlight editable-field inactive"&gt;&lt;DIV class="user-content-block"&gt;&lt;P&gt;1. Create 2 folders on Dropbox and share folders with any users&lt;BR /&gt;2. As a user1 upload file into folder1&lt;BR /&gt;3. As a user1 move file to folder2&amp;nbsp;&lt;BR /&gt;4. As a user1 (file owner) remove file. Notice that only file_delete event comes with different file_id.&lt;/P&gt;&lt;P&gt;I have file_operations logs to show this issue. Is there a way to get file_delete with same id as other events? Is this a recent change from your side?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Feb 2019 18:17:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326871#M19149</guid>
      <dc:creator>Info V.1</dc:creator>
      <dc:date>2019-02-04T18:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: 2 file_ids are pointing to same file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326983#M19153</link>
      <description>&lt;P&gt;Thanks for following up. I'm glad to hear you already tracked down how to reproduce this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't believe this is a new behavior; it's just appears to be not&amp;nbsp;as common. Unfortunately, there isn't a way to change how the file ID system works.&lt;/P&gt;
&lt;P&gt;You can essentially "resolve" these file IDs though, by calling the API with them. As you saw in the screenshot in your first message, when you call with "id:sQ8JqHEl8OkAAAAAAAIbSg", the response returned the current&amp;nbsp;"id:sQ8JqHEl8OkAAAAAAAIbNQ". You can use that to determine the relation between the two IDs if you need.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:06:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/326983#M19153</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-04T19:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: 2 file_ids are pointing to same file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/327003#M19158</link>
      <description>&lt;P&gt;Workaround provided will not work because once the file is deleted we dont get the fileId in get_metadata call. Example of "get-metadata" call after delete is:&lt;/P&gt;&lt;PRE&gt;{
    ".tag": "deleted",
    "name": "move_and_delete.png.html",
    "path_lower": "/dropbox_regression/delete/move_and_delete.png.html",
    "path_display": "/Dropbox_Regression/delete/move_and_delete.png.html"
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And, screenshot provided in first comment was after the file is restored.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 20:16:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/327003#M19158</guid>
      <dc:creator>Info V.1</dc:creator>
      <dc:date>2019-02-04T20:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: 2 file_ids are pointing to same file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/327004#M19159</link>
      <description>&lt;P&gt;I see, thanks for clarifying that screenshot. I'm afraid I don't have a solution to offer, but I'm sending this along as feedback to the team.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 20:35:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/2-file-ids-are-pointing-to-same-file/m-p/327004#M19159</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-04T20:35:13Z</dc:date>
    </item>
  </channel>
</rss>

