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 ...
Nicholas H.2
10 years agoNew member | Level 1
I should add, it does give me this error:
Traceback (most recent call last):
File "pictures.py", line 15, in <module>
access_token, user_id = flow.finish(code)
File "C:\Python27\lib\site-packages\dropbox-2.2.0-py2.7.egg\dropbox\client.py"
, line 1398, in finish
return self._finish(code, None)
File "C:\Python27\lib\site-packages\dropbox-2.2.0-py2.7.egg\dropbox\client.py"
, line 1265, in _finish
response = self.rest_client.POST(url, params=params)
File "C:\Python27\lib\site-packages\dropbox-2.2.0-py2.7.egg\dropbox\rest.py",
line 316, in POST
return cls.IMPL.POST(*n, **kw)
File "C:\Python27\lib\site-packages\dropbox-2.2.0-py2.7.egg\dropbox\rest.py",
line 254, in POST
post_params=params, headers=headers, raw_response=raw_response)
File "C:\Python27\lib\site-packages\dropbox-2.2.0-py2.7.egg\dropbox\rest.py",
line 227, in request
raise ErrorResponse(r, r.read())
dropbox.rest.ErrorResponse: [400] u'invalid_grant'
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!