Closed javi-aranda closed 3 years ago
Traceback del log de Heroku
2021-05-21T15:46:51.719070+00:00 app[web.1]: ERROR:telegram.ext.dispatcher:No error handlers are registered, logging exception. 2021-05-21T15:46:51.719071+00:00 app[web.1]: Traceback (most recent call last): 2021-05-21T15:46:51.719071+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/dispatcher.py", line 442, in process_update 2021-05-21T15:46:51.719071+00:00 app[web.1]: handler.handle_update(update, self, check, context) 2021-05-21T15:46:51.719072+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/handler.py", line 160, in handle_update 2021-05-21T15:46:51.719072+00:00 app[web.1]: return self.callback(update, context) 2021-05-21T15:46:51.719072+00:00 app[web.1]: File "bot.py", line 24, in find_and_send_tracks 2021-05-21T15:46:51.719073+00:00 app[web.1]: api = SpotipyManager() 2021-05-21T15:46:51.719074+00:00 app[web.1]: File "/app/spotipy_manager.py", line 19, in __init__ 2021-05-21T15:46:51.719074+00:00 app[web.1]: self.sp = spotipy.Spotify(auth=self.get_oauth_token()) 2021-05-21T15:46:51.719074+00:00 app[web.1]: File "/app/spotipy_manager.py", line 48, in get_oauth_token 2021-05-21T15:46:51.719074+00:00 app[web.1]: token = parse_qs(url.fragment)['access_token'][0] 2021-05-21T15:46:51.719076+00:00 app[web.1]: KeyError: 'access_token'
Se ha solucionado solo 🤷
Traceback del log de Heroku