Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Omri1984
1 month agoExplorer | Level 4
Using API and SDK together
Hello, I need some help until now i have been using >NET SDK Version 6.37. and we are experiencing a problem downloading large files 30GB and higher. so I tried to implement chunk download, but S...
Omri1984
1 month agoExplorer | Level 4
Hi,
Thank you for the response.
The response of the 401 is empty.
And I will try to move to version 7 .
So from what you are saying refreshments are stays the same always. Unless you revoked them .
Is there an option to extract the access token from the Dropbox client. Sence I am using both sdk and api . Due to the linitation of download in chunks not available in the sdk .
DB-Des
Dropbox Community Moderator
1 month agoYes, that’s correct: refresh tokens do not expire automatically (unless they’re revoked, for example if the user disconnects the app).
Also keep in mind that access tokens do expire after a period of time, even if you obtain them via the SDK. When the access token expires, your app will need to use the refresh token to request a new access token, or the user will need to go through the authorization flow again.
That said, when using the Dropbox NET SDK, you can retrieve the access token as such:
...
var tokenResult = await DropboxOAuth2Helper.ProcessCodeFlowAsync(
code: code,
appKey: AppKey,
appSecret: AppSecret,
redirectUri: RedirectUri
);
Console.WriteLine($"Access token: {tokenResult.AccessToken}");
...About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!