<?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: Where should I see the &amp;quot;v1_retired&amp;quot; error ? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-should-I-see-the-quot-v1-retired-quot-error/m-p/263632#M15417</link>
    <description>&lt;P&gt;Thanks very much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you gave me some good starting points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will check it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 17:43:49 GMT</pubDate>
    <dc:creator>Dolphin_2018</dc:creator>
    <dc:date>2018-02-05T17:43:49Z</dc:date>
    <item>
      <title>Where should I see the "v1_retired" error ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-should-I-see-the-quot-v1-retired-quot-error/m-p/263510#M15395</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry if it's a stupid question but where exactly should I see the "v1_retired" error? Here is the part of my code where I'm trying to upload a file into the DropBox folder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;try 
{
    if (!dbxFs.exists(testPath))
    {
        testFile = dbxFs.create(testPath);
    	testFile.writeFromExistingFile(file, false);
    	testFile.close();
    }
}

catch (DbxException.Request e)
{
 e.printStackTrace();
 return false;
}

catch (DbxException.Disallowed e)
{
 e.printStackTrace();
 return false;&lt;BR /&gt;}

catch (DbxException.Unauthorized e)
{
 e.printStackTrace();
 return false;
}

catch (DbxException.NotFound e)
{
 e.printStackTrace();
 return false;
}

catch (DbxException e)
{
 e.printStackTrace();
 return false;
}

catch (IOException e)
{
 e.printStackTrace();
 return false;
}

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but&amp;nbsp;I'm not getting any exception, is this where I should get the error? in which of the exceptions should it accord?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:15:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-should-I-see-the-quot-v1-retired-quot-error/m-p/263510#M15395</guid>
      <dc:creator>Dolphin_2018</dc:creator>
      <dc:date>2019-05-29T09:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I see the "v1_retired" error ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-should-I-see-the-quot-v1-retired-quot-error/m-p/263606#M15409</link>
      <description>It looks like you're trying to use the old API v1 Sync SDK for Android. That does use API v1, so API calls made by it will fail now. I don't have an example available of exactly how they would fail though. (The Sync SDK had some offline and retrying functionality built in, so the failure may not be immediately obvious anyway.)&lt;BR /&gt;&lt;BR /&gt;In any case, you should migrate to API v2. For using API v2 from Android, we recommend using the official Dropbox API v2 Java SDK:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's an example Android app here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Your AndroidManifest.xml should be set up as shown here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/AndroidManifest.xml#L33" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/AndroidManifest.xml#L33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You start the flow by calling startOAuth2Authentication as shown here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/UserActivity.java#L36" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/UserActivity.java#L36&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You complete the flow by calling getOAuth2Token as shown here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxActivity.java#L22" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxActivity.java#L22&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Your app can store and re-use the resulting access token for that user, as the example does here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxActivity.java#L24" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxActivity.java#L24&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Once you have an access token, you can make a client as shown here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/395d463840778b4c6ec730aef82b0a9dbee10f8e/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxClientFactory.java#L21" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/395d463840778b4c6ec730aef82b0a9dbee10f8e/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxClientFactory.java#L21&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With a client, you can make whatever calls you want, as shown in the readme and examples:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/ReadMe.md#try-some-api-requests" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/ReadMe.md#try-some-api-requests&lt;/A&gt;</description>
      <pubDate>Mon, 05 Feb 2018 16:21:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-should-I-see-the-quot-v1-retired-quot-error/m-p/263606#M15409</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-02-05T16:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I see the "v1_retired" error ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-should-I-see-the-quot-v1-retired-quot-error/m-p/263632#M15417</link>
      <description>&lt;P&gt;Thanks very much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you gave me some good starting points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will check it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 17:43:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-should-I-see-the-quot-v1-retired-quot-error/m-p/263632#M15417</guid>
      <dc:creator>Dolphin_2018</dc:creator>
      <dc:date>2018-02-05T17:43:49Z</dc:date>
    </item>
  </channel>
</rss>

