PYTHON - Twitter bot Tweepy issues with unicode

Hello to all and thank you in advance.

I am attempting to reproduce a twitter bot and have run into a ‘Unicode objects’ issue when attempting to test a through bash. I have created my dev account, and I was initially able to produce a “hello world” message to my twitter account through code. I was about to test the retweet feature, and then I received this traceback

'Got %r of type %s.' % (u, type(u))) tweepy.error.TweepError: Failed to send request: Only unicode objects are escapable. Got None of type <class 'NoneType'>.

here is the repo](

Hey, me too did you get the solution?
I tried regenerating the keys but nothing. Please help.

Hi @vngoru !

Welcome to the forum!

The OP has not been active on the forum for a few months so it would be best to open up a new topic and ask your question there.


1 Like