cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting error with .net/C# on login

Getting error with .net/C# on login

JackLe295
Explorer | Level 3

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

dropbox error.png

 

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 3

Greg-DB
Dropbox Staff

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 .

JackLe295
Explorer | 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-DB
Dropbox Staff

That unexpected error message should be fixed now.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    JackLe295 Explorer | Level 3
What do Dropbox user levels mean?