Forum Discussion

RudyF's avatar
RudyF
Helpful | Level 5
7 years ago
Solved

Auth.startOAuth2Authentication. Android returns "... User may have restricted profile"

<Also asked on StackOverflow>

 

I'm adapting code from https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android to allow my photo-saving app to directly store files into Dropbox. I think I've managed to add the various libraries and functions that are required. However, when the app attempts Dropbox authentication on startup, the following error is returned:

---.---.stdb E/com.dropbox.core.android.AuthActivity: Could not launch intent. User may have restricted profile
    android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=https://www.dropbox.com/... }

It looks like the issue is related to "User may have restricted profile".

What's going on?

 

  • Resolved by Greg on StackOverflow. In essence, the target device must have either a browser or the Dropbox app installed.

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff
    Hi there, I moved your post to the API forum for our specialist to help!
  • RudyF's avatar
    RudyF
    Helpful | Level 5

    Resolved by Greg on StackOverflow. In essence, the target device must have either a browser or the Dropbox app installed.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 5 days ago
351 Following

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 or Facebook.

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!