cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right 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: 

error using dropbox.net

error using dropbox.net

maxdiable
Explorer | Level 3

hi,

i using dropbox.net version: v4.0.30319 and mvc 5

but if using this code:

 

var response = await DropboxOAuth2Helper.ProcessCodeFlowAsync(
code,
appKey,
appSecret,
callbackUrl);

 

the browser show this error:

 

impossible to found method 'System.Threading.Tasks.Task`1<Dropbox.Api.OAuth2Response> Dropbox.Api.DropboxOAuth2Helper.ProcessCodeFlowAsync(System.String, System.String, System.String, System.String, System.Net.Http.HttpClient)'

 

any help?

3 Replies 3

Greg-DB
Dropbox Staff

That appears to be the correct method definition for DropboxOAuth2Helper.ProcessCodeFlowAsync. Are you sure you have the latest version of the Dropbox API v2 .NET SDK successfully installed though? You mentioned a version number "v4.0.30319" but the latest version is "v4.8.0". (I think "v4.0.30319" is the version of .NET itself.)

maxdiable
Explorer | Level 3

sorry,

i using the 4.8.0 vesion, but the error always remains that

br

 

Max

chirstius
Dropbox Staff

Hello @maxdiable,

 

Can you verify what version of .NET you are using an if you wouldn't mind please share a full code sample. That would be very helpful trying to perform further troubleshooting on this issue.

 

Thanks!

 

-Chuck

Need more support?
Who's talking

Top contributors to this post

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