<?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: restore files,but return error： invalid_revision with Picture modified a few months ago in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/453715#M23438</link>
    <description>&lt;P&gt;Thank you for your reply！&lt;/P&gt;&lt;P&gt;Your reply has helped me a lot, but I still don’t understand: In the basic account, the files deleted one month ago&amp;nbsp;are the same as the files deleted the files just now which upload one month ago ? All they can't restore, please let me know, thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 01:48:11 GMT</pubDate>
    <dc:creator>Glority</dc:creator>
    <dc:date>2020-09-16T01:48:11Z</dc:date>
    <item>
      <title>restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/451585#M23403</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am confused about the correct use of the restore api.&lt;/P&gt;
&lt;P&gt;i find some pictures in my account which are upload just several days, delete it and restore,everything is ok!&lt;/P&gt;
&lt;P&gt;but, if these pictures are upload several months ago, delete it and restore,i will get an error from server：invalid_revision,&lt;/P&gt;
&lt;P&gt;if i go to "&lt;A href="https://www.dropbox.com/" target="_blank" rel="noopener"&gt;https://www.dropbox.com/&lt;/A&gt;" sign in and restore the pictures just deleted, and then retry to delete and restore using api rather than directly visit 'dropbox' site to restore,it's also ok!&lt;/P&gt;
&lt;P&gt;is the way i use api wrong? But in most cases the restore api can be used successfully, or it could be..&lt;/P&gt;
&lt;P&gt;please help me! thanks. Below is my part of code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="restore.png" style="width: 824px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/17716iB5074E011B659656/image-size/large?v=v2&amp;amp;px=999" role="button" title="restore.png" alt="restore.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 20:58:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/451585#M23403</guid>
      <dc:creator>Glority</dc:creator>
      <dc:date>2020-09-21T20:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/451703#M23409</link>
      <description>&lt;P&gt;An "invalid_revision" error from &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-restore" target="_self"&gt;/2/files/restore&lt;/A&gt; should mean "The revision is invalid. It may not exist or may point to a deleted file.". In this case, it sounds like it's because the file revision you're using when calling the API is for a version of the file from several months ago, which is no longer be available.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;File version retention length will vary by account type. For instance,&amp;nbsp;Dropbox Basic accounts only store file versions for 30 days. You can find &lt;A href="https://help.dropbox.com/files-folders/restore-delete/version-history-overview" target="_self"&gt;more information on that in the help center&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 16:15:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/451703#M23409</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-08T16:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/453715#M23438</link>
      <description>&lt;P&gt;Thank you for your reply！&lt;/P&gt;&lt;P&gt;Your reply has helped me a lot, but I still don’t understand: In the basic account, the files deleted one month ago&amp;nbsp;are the same as the files deleted the files just now which upload one month ago ? All they can't restore, please let me know, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 01:48:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/453715#M23438</guid>
      <dc:creator>Glority</dc:creator>
      <dc:date>2020-09-16T01:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/453835#M23441</link>
      <description>&lt;P&gt;I'm not sure I understand your latest message. Can you clarify? Alternatively, if you have questions about Dropbox file restorations and version history retention in general, you can &lt;A href="https://www.dropbox.com/support" target="_self"&gt;contact support directly&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 14:59:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/453835#M23441</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-16T14:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/453993#M23450</link>
      <description>&lt;P&gt;Thank you for your reply！&lt;/P&gt;&lt;P&gt;In order to explain my situation more clearly, let’s take an example.&lt;/P&gt;&lt;P&gt;The timeline goes back to two months ago. ,I did two operations: 1. Delete file A in dropbox, 2. In dropbox File B is uploaded here.&lt;/P&gt;&lt;P&gt;Back to today, I already know that I cannot restore the deleted file A with basic account, but if I delete the file B now and try to restore it, it will not succeed. Please tell me, is this the phenomenon that it should be?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 02:12:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/453993#M23450</guid>
      <dc:creator>Glority</dc:creator>
      <dc:date>2020-09-17T02:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/454206#M23463</link>
      <description>&lt;P&gt;Thanks, that's helpful. Yes, if file B was only recently deleted (less than 30 days ago) you should be able to restore it via the API with a basic account. Is that the particular case that is failing for you via the API? Can you double check you're using the correct recent revision ID? (That would be the "rev" variable in your code, but it doesn't show where/how you get that value.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, please &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;open an API ticket&lt;/A&gt; with the details so we can investigate this for you. Specifically, the following may be helpful:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the affected account ID&lt;/LI&gt;
&lt;LI&gt;a sample file path that displayed the issue&lt;/LI&gt;
&lt;LI&gt;the revision ID you specified to restore, and where you retrieved it from&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 17 Sep 2020 18:23:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/454206#M23463</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-17T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/455555#M23500</link>
      <description>&lt;P&gt;Thanks！Yes, T&lt;SPAN&gt;hat is the particular case that is failing for me via the API.I check my&amp;nbsp;revision&amp;nbsp;ID when delete and restore ,they have always been the same.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; The affected account id: &amp;lt;REDACTED&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;the sample file maybe not important, because any file that meets the conditions can reproduce this problem.If you have any progress on this issue, please let me know.Thanks！&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 14:16:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/455555#M23500</guid>
      <dc:creator>Glority</dc:creator>
      <dc:date>2020-09-23T14:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/455660#M23502</link>
      <description>&lt;P&gt;Thanks, I see you opened a ticket, so we'll follow up with you there.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 14:22:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/455660#M23502</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-23T14:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: restore files,but return error： invalid_revision with Picture modified a few months ago</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/455863#M23516</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you and look forward to your reply！&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 01:34:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/restore-files-but-return-error-invalid-revision-with-Picture/m-p/455863#M23516</guid>
      <dc:creator>Glority</dc:creator>
      <dc:date>2020-09-24T01:34:14Z</dc:date>
    </item>
  </channel>
</rss>

