Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refresh_token token not found #7

Closed
kittinan opened this issue Jul 31, 2020 · 0 comments
Closed

refresh_token token not found #7

kittinan opened this issue Jul 31, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@kittinan
Copy link
Owner

Error log

16:19:20:91
1596187161 1596186860
Refresh token
[ERROR]	2020-07-31T09:19:21.16Z	385ee52d-406e-4db0-932f-206594d6bea5	Exception on /api/view [GET]
Traceback (most recent call last):
  File "/var/task/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/var/task/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/var/task/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/var/task/flask/_compat.py", line 39, in reraise
    raise value
  File "/var/task/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/var/task/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./api/view.py", line 171, in catch_all
    item, is_now_playing = get_song_info(uid)
  File "./api/view.py", line 148, in get_song_info
    access_token = get_access_token(uid)
  File "./api/view.py", line 129, in get_access_token
    refresh_token = token_info["refresh_token"]
KeyError: 'refresh_token'
@kittinan kittinan added the bug Something isn't working label Jul 31, 2020
kittinan added a commit that referenced this issue Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant