<?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: my dropbox chooser stopped working in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202447#M9613</link>
    <description>Thanks for the report! Is this only occurring for you when you select files in the Public folder? If so, that's a known issue we're working on.</description>
    <pubDate>Tue, 17 Jan 2017 00:27:27 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-01-17T00:27:27Z</dc:date>
    <item>
      <title>my dropbox chooser stopped working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202445#M9612</link>
      <description>&lt;P&gt;My Dropbox chooser no longer works in my android app and nothing has changed. I was retesting it recently and it returns the error saying "Sorry and error occurred. Please try again later."&lt;/P&gt;
&lt;P&gt;below I have pasted relevant code that has been working for around a year and also a printout from the error log having to do with GetLinkAsyncTask.&lt;/P&gt;
&lt;P&gt;Any Idea why this stopped working?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;private static final String APP_KEY = "21fxa7qsjb9xpt6"; //app key for dropbox
private static final int DBX_CHOOSER_REQUEST = 256; // arbitrarily choosing 256
private DbxChooser mChooser;
&amp;nbsp;
public void btnDropbox_Clicked(View v)
{
vibratePhone(50);
DbxChooser.ResultType resultType;
resultType = DbxChooser.ResultType.PREVIEW_LINK;
DebugLog.debugLog("launching Dropbox Chooser ", false);
GlobalStuff.outToChooser = true;
mChooser.forResultType(resultType).launch(this, DBX_CHOOSER_REQUEST);

}
public void onActivityResult(int requestCode, int resultCode, Intent data)
{
if (requestCode == DBX_CHOOSER_REQUEST )
{
DebugLog.debugLog("It was for dropbox", false); 
GlobalStuff.outToChooser = false;
if (resultCode == Activity.RESULT_OK)
{
DbxChooser.Result result = new DbxChooser.Result(data);
DebugLog.debugLog("Link to selected file: " + result.getLink(), false); 
@SuppressWarnings("deprecation")
android.text.ClipboardManager clipboard = (android.text.ClipboardManager) 
GlobalStuff.GCT.getSystemService(GlobalStuff.GCT.CLIPBOARD_SERVICE);
Uri uri = result.getLink();
String str = uri.toString();
clipboard.setText(str); 
}
else
{
//failed or was cancelled by user
} 
}
//for some poorly documented reason we need to call mHelper.handleActivityResult
//to get our mPurchaseFinishedListener to execute so that we can consume purchases
//and provision product . . .

if (requestCode == RC_REQUEST)
{
DebugLog.debugLog("It was for in-app billing", false); 
if (mHelper == null) 
{
DebugLog.debugLog("mHellper was null ", false); 
return;
}
if (mHelper.handleActivityResult(requestCode, resultCode, data))
{
DebugLog.debugLog("Got positive back from handleActivityResult call", false); 
}
} 
}&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;log error is as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;01-16 16:57:04.125 2825-2825/? W/SplitWindow: update focus... 
01-16 16:57:04.144 1298-1386/? I/WindowManager: Losing delayed focus: Window{adbe0f7 u0 com.dropbox.android/com.dropbox.android.activity.DropboxChooserActivity}
01-16 16:57:04.152 2825-2825/? W/SplitWindow: update focus... 
01-16 16:57:04.310 2825-16239/? I/com.dropbox.android.activity.gf: Error in GetLinkAsyncTask
j: 500 Internal Server Error (The server has either erred or is incapable of performing the requested operation.)
at com.dropbox.client2.ak.a(panda.py:566)
at com.dropbox.client2.ak.b(panda.py:645)
at com.dropbox.client2.ak.a(panda.py:77)
at com.dropbox.client2.am.a(panda.py:148)
at com.dropbox.client2.ak.b(panda.py:386)
at com.dropbox.client2.ak.a(panda.py:279)
at com.dropbox.internalclient.ai.a(panda.py:39)
at com.dropbox.internalclient.ba.c(panda.py:2237)
at com.dropbox.internalclient.ba.a(panda.py:2397)
at com.dropbox.android.activity.gf.a(panda.py:320)
at com.dropbox.android.activity.gf.b(panda.py:236)
at dbxyzptlk.db2820200.bg.s.a(panda.py:55)
at dbxyzptlk.db2820200.bg.s.a(panda.py:30)
at dbxyzptlk.db2820200.en.a.doInBackground(panda.py:113)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
01-16 16:57:04.341 3533-3533/? I/[SystemUI]NavigationThemeResource: notify navigation bar color(0xff000000)&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:26:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202445#M9612</guid>
      <dc:creator>DeanBlakely</dc:creator>
      <dc:date>2019-05-29T09:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: my dropbox chooser stopped working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202447#M9613</link>
      <description>Thanks for the report! Is this only occurring for you when you select files in the Public folder? If so, that's a known issue we're working on.</description>
      <pubDate>Tue, 17 Jan 2017 00:27:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202447#M9613</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-17T00:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: my dropbox chooser stopped working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202600#M9642</link>
      <description>The issue with choosing files in the Public folder should be fixed now. Please let us know if you're still seeing any issues.</description>
      <pubDate>Wed, 18 Jan 2017 00:13:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202600#M9642</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-18T00:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: my dropbox chooser stopped working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202693#M9646</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; It works now.&amp;nbsp; Glad to hear it was on your end.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 15:58:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/my-dropbox-chooser-stopped-working/m-p/202693#M9646</guid>
      <dc:creator>DeanBlakely</dc:creator>
      <dc:date>2017-01-18T15:58:15Z</dc:date>
    </item>
  </channel>
</rss>

