<?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: File id not found for update in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386572#M21481</link>
    <description>&lt;P&gt;Здравко is correct; you're mixing "files" and "file requests" functionality. &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files" target="_self"&gt;The "files" endpoints&lt;/A&gt; are for interacting with files, whereas &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#file_requests" target="_self"&gt;the "file_requests" endpoints&lt;/A&gt; are for interacting with "&lt;A href="https://help.dropbox.com/files-folders/share/create-file-request" target="_self"&gt;file requests&lt;/A&gt;", which are a way for users to&amp;nbsp;receive files from other people.&lt;/P&gt;
&lt;P&gt;If you want to update an existing file, that is, to upload a new version of a file, e.g., by specifying the file ID of the existing file, you can use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;/2/files/upload&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2019 15:57:12 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-12-30T15:57:12Z</dc:date>
    <item>
      <title>File id not found for update</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386344#M21468</link>
      <description>&lt;P&gt;I am testing some endpoints in the Dropbox API Explorer.&amp;nbsp; Using the endpoint&lt;/P&gt;
&lt;PRE&gt;/get_metadata&lt;/PRE&gt;
&lt;P&gt;I get an id for a file like&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;id: -x-m_bOc0rAAAAAAAAAA-A&lt;/PRE&gt;
&lt;P&gt;Now I want to use the endpoint&lt;/P&gt;
&lt;PRE&gt;/update&lt;/PRE&gt;
&lt;P&gt;Therefore the id is required. When I enter the id:&lt;/P&gt;
&lt;PRE&gt;-x-m_bOc0rAAAAAAAAAA-A&lt;/PRE&gt;
&lt;P&gt;I get the error, that no file is found with that id.&lt;/P&gt;
&lt;P&gt;What is the problem here? I don´t get it&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 16:36:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386344#M21468</guid>
      <dc:creator>AmandaCifuentes</dc:creator>
      <dc:date>2019-12-30T16:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: File id not found for update</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386345#M21469</link>
      <description>&lt;P&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@36FE900155D86591BECD53066C16CBB1/images/emoticons/1f606.png" alt=":laughing:" title=":laughing:" /&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@AEF569BFDD1DD3EB9180949D237CD92A/images/emoticons/1f600.png" alt=":grinning:" title=":grinning:" /&gt; Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1234624"&gt;@AmandaCifuentes&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Use the &lt;STRONG&gt;id&lt;/STRONG&gt; as is! If you remove leading part, Dropbox tries find a file with "-x-m_bOc0rAAAAAAAAAA-A"-like name, missing actually. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@F55D1311E4D274BF094217A54A6087D3/images/emoticons/1f609.png" alt=":wink:" title=":wink:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this cast extra light.&lt;/P&gt;&lt;P&gt;ADD: Oh, Even more "&lt;A title="File operation" href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener"&gt;get_metadata&lt;/A&gt;" is file operation and the id there is file id, but "&lt;A title="File Request" href="https://www.dropbox.com/developers/documentation/http/documentation#file_requests-update" target="_blank" rel="noopener"&gt;update&lt;/A&gt;" is file request operation and the id there is file request id, not a file id! Be more careful - there are different id types.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Dec 2019 14:41:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386345#M21469</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2019-12-28T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: File id not found for update</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386348#M21470</link>
      <description>&lt;P&gt;Thank you for your quick answer. The problem is if I use&lt;/P&gt;&lt;PRE&gt;id: -x-m_bOc0rAAAAAAAAAA-A&lt;/PRE&gt;&lt;P&gt;it will tell me the following error:&lt;/P&gt;&lt;PRE&gt;request body: id: 'id: -x-m_bOc0rAAAAAAAAAA_w' did not match pattern '[-_0-9a-zA-Z]+'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Dec 2019 15:37:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386348#M21470</guid>
      <dc:creator>AmandaCifuentes</dc:creator>
      <dc:date>2019-12-28T15:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: File id not found for update</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386349#M21471</link>
      <description>&lt;P&gt;Yes, because the id expected is file request id, not file id! As I noted above, they are different. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@F55D1311E4D274BF094217A54A6087D3/images/emoticons/1f609.png" alt=":wink:" title=":wink:" /&gt;&lt;/P&gt;&lt;P&gt;Give an answer to yourself: What you are doing on? Files or Requests? And use corresponding API type, finally. Don't mix them!&lt;/P&gt;</description>
      <pubDate>Sat, 28 Dec 2019 15:56:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386349#M21471</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2019-12-28T15:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: File id not found for update</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386572#M21481</link>
      <description>&lt;P&gt;Здравко is correct; you're mixing "files" and "file requests" functionality. &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files" target="_self"&gt;The "files" endpoints&lt;/A&gt; are for interacting with files, whereas &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#file_requests" target="_self"&gt;the "file_requests" endpoints&lt;/A&gt; are for interacting with "&lt;A href="https://help.dropbox.com/files-folders/share/create-file-request" target="_self"&gt;file requests&lt;/A&gt;", which are a way for users to&amp;nbsp;receive files from other people.&lt;/P&gt;
&lt;P&gt;If you want to update an existing file, that is, to upload a new version of a file, e.g., by specifying the file ID of the existing file, you can use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;/2/files/upload&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 15:57:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-id-not-found-for-update/m-p/386572#M21481</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-12-30T15:57:12Z</dc:date>
    </item>
  </channel>
</rss>

