StreamingClient 409 and 401 errors
See original GitHub issueHi,
I’m currently getting 409 errors while trying to run the tweepy StreamingClient. Earlier I experienced 401 errors and have tried removing the project and resetting the bearer token. I’ve also tried resyncing my clock time to internet time. But my attempts have been useless so far. Is anyone experiencing the same errors or have any ideas for making the stream work?
import tweepy
streamer = tweepy.StreamingClient(
bearer_token='sample_token',
wait_on_rate_limit=True,
max_retries=3
)
stream = streamer.filter()
Issue Analytics
- State:
- Created a year ago
- Comments:18 (8 by maintainers)
Top Results From Across the Web
StreamingClient 409 and 401 errors - python - Stack Overflow
I'm currently getting 409 errors while trying to run the tweepy StreamingClient. Earlier I experienced 401 errors and have tried removing ...
Read more >Tweepy Stream encountered HTTP error: 409 - Twitter API v2
So I was running the streamingclient today and then it disconnected with this Stream encountered HTTP error: 409.
Read more >StreamingClient raising 401 error · Issue #160 - GitHub
It keeps throwing a 401 error. I am able to run the "c = auth.client_from_token_file(token_path, api_key)" example which generates my token.
Read more >401 vs 403 vs 409 - When to use What? - YouTube
This video explains the use of HTTP status codes 401, 403 and 409 along with an example.
Read more >401 Unauthorized - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 401 Unauthorized response status code indicates that the client request has not been completed ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The relevant
Response
is from callingadd_rules
, in yourrun_forever
method.That worked, I do get the error reponse now. tx v m