Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I'm not entirely sure where this goes. I'm trying to write a program that access specific files in my dropbox account but it keeps giving me this error message. How do I fix that?
The error message appears on just this line of code:
var authRequestUrl = await client.Core.OAuth2.AuthorizeAsync("code");
I'm still kind of learning how to use this. I got the code from this site https://github.com/saguiitay/DropboxRestAPI
Can anyone help?
Update: Oops! I sort of found the solution right after I posted this. Idk if it really fixes my problem yet but on the site above someone asks a similar question and says to use this line instead:
var authRequestUrl = client.Core.OAuth2.Authorize("code");
I'm glad to hear you sorted that out already.
For reference though, it looks like you're using a third party SDK. As it's made by a third party, we wouldn't be able to provide support for it.
Also, it unfortunately looks like that SDK uses the old Dropbox API v1, which is deprecated, and going to be retired soon.
You should move to API v2 instead. We have an official API v2 .NET SDK you can use.
That's exactly why I left this up even though I figured out the answer. I really wasn't even sure if I was using the right code (or if it was current). Thanks 😄 I'll check that out.
Oh! And the reason why I posted it here even though it's a third party SDK is because I foudn this thread:
https://www.dropboxforum.com/t5/API-support/How-to-get-files-by-DropBoxRest-API-in-C/m-p/100846#M302...
and I was hoping it would catch the attention of these people too.
@Greg-DB wrote:I'm glad to hear you sorted that out already.
For reference though, it looks like you're using a third party SDK. As it's made by a third party, we wouldn't be able to provide support for it.
Also, it unfortunately looks like that SDK uses the old Dropbox API v1, which is deprecated, and going to be retired soon.
You should move to API v2 instead. We have an official API v2 .NET SDK you can use.
Hi there!
If you need more help you can view your support options (expected response time for a 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!