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
[BUG] <'User does not have a valid session'> #282
Comments
A PR #285 has been created which will allow you to run |
You're going to have to wait for @nathom to pull it into the dev and eventually master branch. There is nothing to be done on your part, however if you want it to work now, you could run these commands: |
Successfully uninstalled streamrip-1.9.2 Successfully installed streamrip-1.9.2 rip url https://listen.tidal.com/album/63886176 Exception Refresh failed at /usr/local/lib/python3.9/site-packages/streamrip/clients.py:955 in _refresh_access_token |
Have you run |
No, I will do that now. Thanks :) |
Your device was successfully linked to your account |
Wow. Thanks so much for the fix! I so appreciate it. |
Fixed in |
Thank you 😊 |
Describe the bug
Streamrip worked amazingly for a few sessions logged into Tidal HiFi.
But I now get this error, although I'm still logged into Tidal web player and am streaming fine. I tried logging out of Tidal and logging back in, and restarting Terminal.
Exception
Login failed {'status': 401, 'subStatus': 6001, 'userMessage': 'User does not have a valid session'}
at /usr/local/lib/python3.9/site-packages/streamrip/clients.py:976 in _login_by_access_token
972│ resp = self.session.get(
973│ "https://api.tidal.com/v1/sessions", headers=headers
974│ ).json()
975│ if resp.get("status", 200) != 200:
→ 976│ raise Exception(f"Login failed {resp}")
977│
978│ if str(resp.get("userId")) != str(user_id):
979│ raise Exception(f"User id mismatch {resp['userId']} v {user_id}")
980│
Command Used
Debug Traceback
Config File
Opening /Users/XXXX/Library/Application Support/streamrip/config.toml in default application
Operating System
MacOS
streamrip version
1.9.2
Screenshots and recordings
No response
Additional context
Thank you :)
The text was updated successfully, but these errors were encountered: