Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Nicholas H.2
10 years agoNew member | Level 1
Generated Access Token not working for authentication (Python)
Hello,
I generated an access token on my app page, but it does not seem to be working. I am using it in place of the token that is normally generated when give it access from the webpage. Here is ...
Steve M.
Dropbox Staff
10 years agoTry just this instead:
from dropbox.client import DropboxClient
access_token = 'xxxxxxx' # <-- your generated access token
client = DropboxClient(access_token)
It looks like what you're trying to do is use your access token as the "authorization code" for the OAuth flow, but that's not right. The result of the OAuth flow is an access token, and you already have one of those, so you're done!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!