<?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: Error occurred after visiting authorization URL in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173841#M6796</link>
    <description>&lt;P&gt;This should be fixed in &lt;A href="https://github.com/dropbox/dropbox-sdk-java/releases/tag/v2.1.0" target="_blank" rel="nofollow noreferrer"&gt;version 2.1.0&lt;/A&gt;. Please try it out and let us know if you're still seeing any issues.&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jul 2016 07:39:51 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-07-30T07:39:51Z</dc:date>
    <item>
      <title>Error occurred after visiting authorization URL</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173838#M6793</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am upgrading to Dropbox Core SDK 2.0.6 for Java. When I add dropbox account, I encounter this error:&lt;/P&gt;
&lt;P&gt;SEVERE: {"error_description": "unknown field \"state\"", "error": "invalid_request"} com.dropbox.core.BadRequestException: {"error_description": "unknown field \"state\"", "error": "invalid_request"}&lt;/P&gt;
&lt;P&gt;If I don't specify state, it works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my&amp;nbsp;snippet code:&lt;/P&gt;
&lt;P&gt;//dropbox-start&lt;/P&gt;
&lt;P&gt;DbxSessionStore csrfTokenStore = new DbxStandardSessionStore(session, DB_AUTH_CSRF_TOKEN_KEY);&lt;BR /&gt; DbxWebAuth auth = getWebAuth(request, user);&lt;BR /&gt; com.dropbox.core.DbxWebAuth.Request.Builder builder = Request.newBuilder();&lt;BR /&gt; &lt;STRONG&gt;builder.withState("n:" + name);&lt;/STRONG&gt;&lt;BR /&gt; builder.withRedirectUri(redirectURL, csrfTokenStore);&lt;BR /&gt; Request dropboxRequest = builder.build();&lt;BR /&gt; String authorizeUrl = auth.authorize(dropboxRequest);&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;//dropbox-finish&lt;/P&gt;
&lt;P&gt;DbxAuthFinish authFinish = auth.finishFromRedirect(redirectURL, csrfTokenStore, request.getParameterMap());&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:32:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173838#M6793</guid>
      <dc:creator>rms u.</dc:creator>
      <dc:date>2019-05-29T09:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error occurred after visiting authorization URL</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173839#M6794</link>
      <description>&lt;P&gt;Thanks for the report, this looks like a bug on our side. I'll send it along to our team.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2016 01:17:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173839#M6794</guid>
      <dc:creator>Alexandra F.1</dc:creator>
      <dc:date>2016-07-02T01:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error occurred after visiting authorization URL</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173840#M6795</link>
      <description>&lt;P&gt;Hi Alexandra,&lt;/P&gt;
&lt;P&gt;Referring to the source code&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/v2.0.6/src/main/java/com/dropbox/core/DbxWebAuth.java" rel="nofollow noreferrer"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/v2.0.6/src/main/java/com/dropbox/core/DbxWebAuth.java&lt;/A&gt; (line 382), DBxWebAuth will send state to&amp;nbsp;oauth2 dropbox server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 14:43:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173840#M6795</guid>
      <dc:creator>rms u.</dc:creator>
      <dc:date>2016-07-05T14:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error occurred after visiting authorization URL</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173841#M6796</link>
      <description>&lt;P&gt;This should be fixed in &lt;A href="https://github.com/dropbox/dropbox-sdk-java/releases/tag/v2.1.0" target="_blank" rel="nofollow noreferrer"&gt;version 2.1.0&lt;/A&gt;. Please try it out and let us know if you're still seeing any issues.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2016 07:39:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-occurred-after-visiting-authorization-URL/m-p/173841#M6796</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-07-30T07:39:51Z</dc:date>
    </item>
  </channel>
</rss>

