Forum Discussion

Anggadika's avatar
Anggadika
Explorer | Level 3
3 years ago

refresh token using C# and all

Hi Dropbox,

Can you provide an example of making GetToken using .Net Developer C# and upload and download it at the same time. for Dropbox V2 APIs.

 

Thanks

    • Anggadika's avatar
      Anggadika
      Explorer | Level 3

      Maybe you can give an example using video or YouTube to make it easier to implement

    • Anggadika's avatar
      Anggadika
      Explorer | Level 3

       

      I have tried, but access is denied.

      this is source code when error.

      Please Help Why Access is Denied

       

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

        Dropbox doesn't offer video tutorials for the Dropbox API, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

         

        Regarding the issue you're currently seeing, the http.Start() line starts a local HTTP listener to receive the result of the authorization flow automatically. The "Access is denied" error doesn't seem to be coming from Dropbox itself, but rather from your system indicating you aren't able to start the listener. Please refer to your platform/operating system's documentation for information on how to configure your permissions to allow your account to start a listener like that. Unfortunately as that's not made by Dropbox, I can't offer support for that itself.

         

        Alternatively, you can omit the redirect URI and not use a listener to receive the result. The redirect URI is actually optional, in which case you would be presented with the authorization code to copy/paste back into the app manually.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers803 PostsLatest Activity: 9 hours ago
216 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!