We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
JackLe295
4 years agoExplorer | Level 3
Getting error with .net/C# on login
Hi there,
I'm using the Dropbox .net SDK version 6.24.0 for my winforms application.
I use this method to get the URL for login
DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, "client ID", "redirect URI").ToString();
After entering the username, password and clicking Login, I get this message on top of the page
but it let me in and do my usual stuff like browsing folders/files. So what could be causing this error?
Any helps/suggestions are welcome.
Thanks in advance
Jack
3 Replies
- Greg-DB4 years ago
Dropbox Community Moderator
Thanks for the report. There's a known issue causing that message to be shown unnecessarily. The team is looking into it.
By the way, from that screenshot, it looks like your app currently processes the OAuth app authorization flow inside a web view, instead of the system browser. The OAuth app authorization flow should be processed in the user's system browser. Processing it in a web view is not officially supported and is more prone to compatibility issue. See here for more information: https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize .
- JackLe2954 years agoExplorer | Level 3
Hi Greg,
Thanks for your response about the known error. With regards to the authorization flow in the system web browser, the application is being deployed on a strict windows server which doesn't allow any other browsers to be installed, it only has Internet Explorer which doesn't support the Dropbox login. That's why I have to use the web view control for it.
- Greg-DB4 years ago
Dropbox Community Moderator
That unexpected error message should be fixed now.
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!