<?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 &amp;quot;invalid_revision&amp;quot; error while restoring deleted file through API in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/quot-invalid-revision-quot-error-while-restoring-deleted-file/m-p/574514#M2357</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Using Dropbox Java SDK v4.0.1 for development. I am trying to restore deleted files using -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;files().restore(path, rev)&lt;/PRE&gt;&lt;P&gt;But its throwing an error "invalid_revision".&lt;BR /&gt;I am getting &lt;STRONG&gt;path&amp;nbsp;&lt;/STRONG&gt;from metadata for deleted file in listFolder() with includeDeleted = true.&lt;BR /&gt;And I am getting &lt;STRONG&gt;rev&lt;/STRONG&gt; from listRevisions() for the file. Getting the latest revision from that list.&lt;BR /&gt;&lt;BR /&gt;Is this API correct to do this task or is there anything to help ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Aman&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jan 2022 14:53:29 GMT</pubDate>
    <dc:creator>AmanSingh</dc:creator>
    <dc:date>2022-01-31T14:53:29Z</dc:date>
    <item>
      <title>"invalid_revision" error while restoring deleted file through API</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/quot-invalid-revision-quot-error-while-restoring-deleted-file/m-p/574514#M2357</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Using Dropbox Java SDK v4.0.1 for development. I am trying to restore deleted files using -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;files().restore(path, rev)&lt;/PRE&gt;&lt;P&gt;But its throwing an error "invalid_revision".&lt;BR /&gt;I am getting &lt;STRONG&gt;path&amp;nbsp;&lt;/STRONG&gt;from metadata for deleted file in listFolder() with includeDeleted = true.&lt;BR /&gt;And I am getting &lt;STRONG&gt;rev&lt;/STRONG&gt; from listRevisions() for the file. Getting the latest revision from that list.&lt;BR /&gt;&lt;BR /&gt;Is this API correct to do this task or is there anything to help ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Aman&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 14:53:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/quot-invalid-revision-quot-error-while-restoring-deleted-file/m-p/574514#M2357</guid>
      <dc:creator>AmanSingh</dc:creator>
      <dc:date>2022-01-31T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: "invalid_revision" error while restoring deleted file through API</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/quot-invalid-revision-quot-error-while-restoring-deleted-file/m-p/574562#M2359</link>
      <description>&lt;P&gt;I'm closing this as a duplicate in favor of &lt;A href="https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/invalid-revision-error-while-restoring-file-version-through-api/td-p/560452" target="_self"&gt;your existing thread&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 18:07:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/quot-invalid-revision-quot-error-while-restoring-deleted-file/m-p/574562#M2359</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-01-31T18:07:12Z</dc:date>
    </item>
  </channel>
</rss>

