Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Pedro V.5
10 years agoNew member | Level 1
Bug on Android Core API
When using the Dropbox Core API, if the Dropbox app is not installed, when trying to open the URL to authenticate on the browser the following error happens:
E/com.dropbox.client2.android.AuthAc...
Greg-DB
Dropbox Community Moderator
10 years agoThanks! I'm working on reproducing this, but I can't seem to get the SDK to give me a URL that doesn't have the "https://" at the beginning, which seems to be the important difference, per the exception in your posted log. The URL is built by RESTUtility.buildURL in com/dropbox/client2/RESTUtility.java. That only returns either null (in case of an UnsupportedEncodingException) or:
return "https://" + host + ":443" + target;
Is your RESTUtility.buildURL modified by any chance?
Otherwise, can you try adding some logging to see if/where it's getting modified? E.g., something like this between RESTUtility.buildURL and Intent intent = new Intent... in startWebAuth:
Log.d("TEST", "url: " + url);
Log.d("TEST", "parsed URI: " + Uri.parse(url));
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!