You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While developing a project I came across a strange error: tweepy.errors.BadRequest: 400 Bad Request '_tuplegetter(2, 'Alias for field number 2')' is not a valid Long
Investigating with my debugger, I found out this happens because the StreamRule class is used instead of the current StreamRule Tuple Object.
This is the exact place in the code, which should be json["delete"]["ids"].append(str(id.id)) to function properly.
Greetings!
While developing a project I came across a strange error:
tweepy.errors.BadRequest: 400 Bad Request '_tuplegetter(2, 'Alias for field number 2')' is not a valid Long
Investigating with my debugger, I found out this happens because the StreamRule class is used instead of the current StreamRule Tuple Object.
This is the exact place in the code, which should be
json["delete"]["ids"].append(str(id.id))
to function properly.tweepy/tweepy/asynchronous/streaming.py
Line 682 in 598ea64
Should I open a PR for that, or do you want to do this?
Have a nice day everyone, and don't forget to drink enough! 🥤
The text was updated successfully, but these errors were encountered: