Hello,
I am unable to sign into my Tidal account following the example usage.
This is my code:
import tidalapi
session = tidalapi.Session()
user = 'myemail'
pw = 'mypw'
session.login(user, pw)
First I got the following error:
{"status":401,"subStatus":6004,"userMessage":"Invalid token"}
Traceback (most recent call last):
File "test.py", line 7, in <module>
session.login(user, pw)
File "C:\Users\alper\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tidalapi\__init__.py", line 87, in login
request.raise_for_status()
File "C:\Users\alper\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.tidalhifi.com/v1/login/username?token=pl4Vc0hemlAXD0mN
After looking up my personal API token and editing the __init__ file I get this error:
{"status":401,"subStatus":3009,"userMessage":null}
Traceback (most recent call last):
File "test.py", line 7, in <module>
session.login(user, pw)
File "C:\Users\alper\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tidalapi\__init__.py", line 87, in login
request.raise_for_status()
File "C:\Users\alper\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.tidalhifi.com/v1/login/username?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hope someone can help me out :)
Hello,
I am unable to sign into my Tidal account following the example usage.
This is my code:
First I got the following error:
{"status":401,"subStatus":6004,"userMessage":"Invalid token"} Traceback (most recent call last): File "test.py", line 7, in <module> session.login(user, pw) File "C:\Users\alper\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tidalapi\__init__.py", line 87, in login request.raise_for_status() File "C:\Users\alper\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.tidalhifi.com/v1/login/username?token=pl4Vc0hemlAXD0mNAfter looking up my personal API token and editing the
__init__file I get this error:{"status":401,"subStatus":3009,"userMessage":null} Traceback (most recent call last): File "test.py", line 7, in <module> session.login(user, pw) File "C:\Users\alper\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tidalapi\__init__.py", line 87, in login request.raise_for_status() File "C:\Users\alper\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.tidalhifi.com/v1/login/username?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxHope someone can help me out :)