<?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: AuthException when already have token in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328139#M19216</link>
    <description>&lt;P&gt;Dropbox API access tokens currently don't expire automatically, so you should be able to store and re-use them like this. Note that they can be revoked by the user or app at any time though.&lt;/P&gt;
&lt;P&gt;Can you inspect the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_AuthException.htm" target="_blank"&gt;AuthException&lt;/A&gt; you're getting? It inherits from&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_StructuredException_1.htm" target="_blank"&gt;StructuredException&lt;/A&gt;&amp;lt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Auth_AuthError.htm" target="_blank"&gt;AuthError&lt;/A&gt;&amp;gt;.&amp;nbsp;The&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Auth_AuthError.htm" target="_blank"&gt;AuthError&lt;/A&gt;&amp;nbsp;should&amp;nbsp;more specifically indicate the reason for the failure.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 17:10:17 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-02-11T17:10:17Z</dc:date>
    <item>
      <title>AuthException when already have token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328003#M19212</link>
      <description>&lt;P&gt;Have got authorisation via login working, &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; but am having issues when re-using the token (i.e. bypassing having to login again). I'm getting...&lt;/P&gt;&lt;P&gt;Exception thrown: 'Dropbox.Api.AuthException' in Dropbox.Api.dll&lt;BR /&gt;Exception thrown: 'Dropbox.Api.AuthException' in System.Private.CoreLib.dll&lt;/P&gt;&lt;P&gt;...after a DropboxClient(token) call. I've checked, and the token is successfully retrieved and passed on to the DropboxClient call, and the assignment to DropboxClient is succesful (i.e. pointer isn't null, and I can successfully run a .tostring() on it), just when I try to do something useful with the client I get this Auth exception. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@B0F70D28791EB05FA3EA0C3BDDF08EE3/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;&lt;P&gt;I was expecting that re-using a token would work (same as with you normally only have to login to Dropbox once on each device youinstall it on) - is that not the case? If so, I'm not sure why it's not working in this case. I can get around it by logging in every time, but obviously that is quite annoying. Hoping you can help me get this token working more than once?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:08:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328003#M19212</guid>
      <dc:creator>donaldp</dc:creator>
      <dc:date>2019-05-29T09:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: AuthException when already have token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328139#M19216</link>
      <description>&lt;P&gt;Dropbox API access tokens currently don't expire automatically, so you should be able to store and re-use them like this. Note that they can be revoked by the user or app at any time though.&lt;/P&gt;
&lt;P&gt;Can you inspect the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_AuthException.htm" target="_blank"&gt;AuthException&lt;/A&gt; you're getting? It inherits from&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_StructuredException_1.htm" target="_blank"&gt;StructuredException&lt;/A&gt;&amp;lt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Auth_AuthError.htm" target="_blank"&gt;AuthError&lt;/A&gt;&amp;gt;.&amp;nbsp;The&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Auth_AuthError.htm" target="_blank"&gt;AuthError&lt;/A&gt;&amp;nbsp;should&amp;nbsp;more specifically indicate the reason for the failure.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 17:10:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328139#M19216</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-11T17:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: AuthException when already have token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328378#M19239</link>
      <description>&lt;P&gt;Thanks Greg for confirming the token should would the way one would expect.&lt;/P&gt;&lt;P&gt;It took a bit of effort, but finally managed to get some more info out of it. It says "invalid_access_token/..." - not sure why it would be invalid?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 02:35:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328378#M19239</guid>
      <dc:creator>donaldp</dc:creator>
      <dc:date>2019-02-13T02:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: AuthException when already have token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328380#M19240</link>
      <description>&lt;P&gt;Leave this with me for the moment. For some reason I'm getting a different token when I get it from settings. Need to step through this and try and find how that is happenning. Will let you know how I go (now that I've finally found why it was telling me it was invalid!).&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 03:22:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328380#M19240</guid>
      <dc:creator>donaldp</dc:creator>
      <dc:date>2019-02-13T03:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: AuthException when already have token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328393#M19241</link>
      <description>&lt;P&gt;OMG. Unbelievable. I put in a whole bunch of debug writelines, every single time something related happens - when I've got the token, when I've saved it, when I'm retrieving it, every time anything at all happens with the token to try and find where the token is different - and when I ran it, it was working!!!! Same token, start to finish, client call works now. I never touched any actual code, just put in a whole bunch of debug statements, and it's just decided to start working. ARGH! Hair-tearing frustration, and it just decides to start working just like that.&lt;/P&gt;&lt;P&gt;(sigh) Well, at least now it's working. Thanks for your time Greg. Hopefully have some smooth sailing from here (though the fact that it just started working without me changing any actual code is worrying that it may just stop working again)...&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 04:49:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/AuthException-when-already-have-token/m-p/328393#M19241</guid>
      <dc:creator>donaldp</dc:creator>
      <dc:date>2019-02-13T04:49:28Z</dc:date>
    </item>
  </channel>
</rss>

