Traceback (most recent call last):

 ".../twitter_search.py", line 78, in <module>
res = t.search(q=str1)

 ".../twython.py", line 367, in search
return self.get('https://api.twitter.com/1.1/search/tweets.json', params=kwargs)

 ".../twython.py", line 238, in get
return self.request(endpoint, params=params, version=version)

 ".../twython.py", line 233, in request
content = self._request(url, method=method, params=params, files=files, api_call=url)

 ".../twython.py", line 210, in _request
retry_after=response.headers.get('retry-after'))twython.twython.TwythonError: 'Unauthorized: Authentication credentials were missing or incorrect. -- An error occurred processing your request.'
Traceback (most recent call last):


 "server.py", line 55, in <module>

textToSpeech()


 "server.py", line 51, in textToSpeech

speech.save()


 "/home/hicham/hicham/workspace/python/sending_emails/python_smtp_server/Models/speech.py", line 32, in save

self.obj.save('audio_box/'+self.name+'.mp3')


 "/usr/local/lib/python3.6/dist-packages/gtts/tts.py", line 295, in save

self.write_to_fp(f)


 "/usr/local/lib/python3.6/dist-packages/gtts/tts.py", line 251, in write_to_fp

prepared_requests = self._prepare_requests()


 "/usr/local/lib/python3.6/dist-packages/gtts/tts.py", line 194, in _prepare_requests

part_tk = self.token.calculate_token(part)


 "/usr/local/lib/python3.6/dist-packages/gtts_token/gtts_token.py", line 28, in calculate_token

seed = self._get_token_key()


 "/usr/local/lib/python3.6/dist-packages/gtts_token/gtts_token.py", line 59, in _get_token_key

"Unable to find token seed! Did https://translate.google.com change?"
ValueError: Unable to find token seed! Did https://translate.google.com change?
