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 https://github.com/ErinClaudio/didactic-train](https://slack-redir.net/link?url=https%3A%2F%2Fgithub.com%2FErinClaudio%2Fdidactic-train)

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.

Thanks!

1 Like