Forum Discussion

CodingGriffin's avatar
CodingGriffin
New member | Level 1
17 days ago

App Scope Issue.

When I integrate with Dropbox OAuth, what scopes I have to set at my app permissions.

When I try to connect to the dropbox it says "Authentication aborted".

And I check the team_data.member scope, it go to the step to login, but when I login it says "Please sign in with a work account."

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Engineer rankDropbox Engineer

    CodingGriffin,

    When I integrate with Dropbox OAuth, what scopes I have to set at my app permissions.

    The scopes to register for your app are dependent on your use case and what endpoints you will be calling. You can see which scope is required for each endpoint in the API documentation: https://www.dropbox.com/developers/documentation/http/documentation.

    When I try to connect to the dropbox it says "Authentication aborted".

    That error message indicates the authentication process was not fully completed. If you are seeing that error at a different point in the authorization flow, or after the authorization flow has been completed successfully, please reply with:

    • the name and version number of the platform and SDK/library you are using, if any
    • the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)

    And I check the team_data.member scope, it go to the step to login, but when I login it says "Please sign in with a work account."

    Team scopes are permissions needed to interact with Business API endpoints. Additionally, only team admins of Dropbox Business teams can authorize API apps—or apps with team scopes. Could you confirm at what point during the auth flow you are seeing that error?

  • CodingGriffin's avatar
    CodingGriffin
    New member | Level 1

    Thank you for your reply.

    Actually, I am integrating dropbox with uppy file upload tool. It will get access from dropbox through OAuth then download selected files from it and upload them to the server.

    So, I don't use the any SDK/library and I will attach the error process picktures.

    They are workflow.

    I just use the key, secret and redirect URI in my code.

     

    Make sense about the team _data.member scope, but when I don't select that scope above error happen.

    • DB-Des's avatar
      DB-Des
      Icon for Dropbox Engineer rankDropbox Engineer

      Hi CodingGriffin,

      Could you share the relevant code snippet(s)? Be sure to not include any access or refresh token(s).

      Keep in mind that "uppy file upload tool" is a third-party tool, thus we would be unable to provide guidance on its usage.

      • CodingGriffin's avatar
        CodingGriffin
        New member | Level 1

        Thank you for your kindess.

        I am integrating with uppy tool but actually the OAuth part is in the companion server side.

        This is uppy part.

        And this is companion server part.

        Thank you.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 3 hours ago
352 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!