We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Txi's avatar
Txi
Explorer | Level 3
2 years ago

[Scopes] Error loading app info - An unknow error occurred

I'm using swiftydropbox in swiftui and when I try to authenticate using the dropbox app I get a popup that says: Error loading app info - An unknow error occurred. All scopes are set in app console. When I try to authenticate using safari (so I need to uninstall dropbox app) it works.

 

Please help. I'm using dropbox business.

 

 

let scopeRequest = ScopeRequest(scopeType: .team, scopes: ["team_data.team_space", "team_info.read", "team_data.member", "files.metadata.read"], includeGrantedScopes: false)
DropboxClientsManager.authorizeFromControllerV2 (
                UIApplication.shared,
                controller: uiViewController,
                loadingStatusDelegate: nil,
                openURL: { (url: URL) -> Void in UIApplication.shared.open(url, options: [:], completionHandler: nil) },
                scopeRequest: scopeRequest)

 

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report! When you have the official Dropbox mobile app installed, it will process the app authorization flow. Unfortunately, the authorization flow in the official mobile apps doesn't currently support team scopes. As you found, you can workaround this by uninstalling the official app, but I'll bring this up with the team to request support for this in the official mobile apps. I can't promise if/when that may be implemented though.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 8 days ago
193 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!