Conversation
Fix 401 unauthorized error by missed write permission
----
$ python3 delete_tweet.py
Traceback (most recent call last):
File "delete_tweet.py", line 67, in <module>
raise Exception(
Exception: Request returned an error: 401 {
"title": "Unauthorized",
"type": "about:blank",
"status": 401,
"detail": "Unauthorized"
}
|
CLA Assistant Lite bot All Contributors have signed the CLA. If the commit check is not passing, a maintainer must go the Checks tab of this PR and rerun the GitHub Action. |
|
Hello there, FYI, It's my second day to use twitter python sample codes. Regards, |
|
I have read the CLA Document and I hereby sign the CLA |
|
recheck |
|
raise Exception( |
|
Same problem with the Ruby sample code too (Status=401) The BEARER_TOKEN is in the local environment. |
Fix 401 unauthorized error by missed write permission
$ python3 delete_tweet.py
Traceback (most recent call last):
File "delete_tweet.py", line 67, in
raise Exception(
Exception: Request returned an error: 401 {
"title": "Unauthorized",
"type": "about:blank",
"status": 401,
"detail": "Unauthorized"
}