ERROR:backoff:Giving up api_get(...) after 1 tries (requests.exceptions.HTTPErro
r: 401 Client Error: Unauthorized for url: lichess.org/account/me)
Traceback (most recent call last):
File "main.py", line 237, in <module>
user_profile = li.get_profile()
File "C:\Users\********\Downloads\lichess-bot-master\lichess.py", line
96, in get_profile
profile = self.api_get(ENDPOINTS["profile"])
File "C:\Users\******\Downloads\lichess-bot-master\.venv\lib\site-pa
ckages\backoff\_sync.py", line 99, in retry
ret = target(args, **kwargs)
File "C:\Users\***********\Downloads\lichess-bot-master\lichess.py", line
52, in api_get
response.raise_for_status()
File "C:\Users\******\Downloads\lichess-bot-master\.venv\lib\site-pa
ckages\requests\models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://l
ichess.org/account/me
What does this error mean? How do I fix it?
ERROR:backoff:Giving up api_get(...) after 1 tries (requests.exceptions.HTTPErro
r: 401 Client Error: Unauthorized for url: lichess.org/account/me)
Traceback (most recent call last):
File "main.py", line 237, in <module>
user_profile = li.get_profile()
File "C:\Users\**************\Downloads\lichess-bot-master\lichess.py", line
96, in get_profile
profile = self.api_get(ENDPOINTS["profile"])
File "C:\Users\**************\Downloads\lichess-bot-master\.venv\lib\site-pa
ckages\backoff\_sync.py", line 99, in retry
ret = target(*args, **kwargs)
File "C:\Users\**************\Downloads\lichess-bot-master\lichess.py", line
52, in api_get
response.raise_for_status()
File "C:\Users\**************\Downloads\lichess-bot-master\.venv\lib\site-pa
ckages\requests\models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://l
ichess.org/account/me
What does this error mean? How do I fix it?
I got pretty similar error and would also like to know how to fix it and what does it mean...
Could someone please help us? :(
This is my error:
ERROR:backoff:Giving up api_get(...) after 1 tries (requests.exceptions.HTTPError: 404 Client Error: Not Found for url: lichess.org/account/me)
Traceback (most recent call last):
File "main.py", line 237, in <module>
user_profile = li.get_profile()
File "C:\Users\Mateo\Desktop\Chess\lichess-bot-master\lichess-bot-master\lichess.py", line 96, in get_profile
profile = self.api_get(ENDPOINTS["profile"])
File "C:\Users\Mateo\Desktop\Chess\lichess-bot-master\lichess-bot-master\.venv\lib\site-packages\backoff\_sync.py", line 99, in retry
ret = target(*args, **kwargs)
File "C:\Users\Mateo\Desktop\Chess\lichess-bot-master\lichess-bot-master\lichess.py", line 52, in api_get
response.raise_for_status()
File "C:\Users\Mateo\Desktop\Chess\lichess-bot-master\lichess-bot-master\.venv\lib\site-packages\requests\models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: lichess.org/account/me
I got pretty similar error and would also like to know how to fix it and what does it mean...
Could someone please help us? :(
This is my error:
ERROR:backoff:Giving up api_get(...) after 1 tries (requests.exceptions.HTTPError: 404 Client Error: Not Found for url: lichess.org/account/me)
Traceback (most recent call last):
File "main.py", line 237, in <module>
user_profile = li.get_profile()
File "C:\Users\Mateo\Desktop\Chess\lichess-bot-master\lichess-bot-master\lichess.py", line 96, in get_profile
profile = self.api_get(ENDPOINTS["profile"])
File "C:\Users\Mateo\Desktop\Chess\lichess-bot-master\lichess-bot-master\.venv\lib\site-packages\backoff\_sync.py", line 99, in retry
ret = target(*args, **kwargs)
File "C:\Users\Mateo\Desktop\Chess\lichess-bot-master\lichess-bot-master\lichess.py", line 52, in api_get
response.raise_for_status()
File "C:\Users\Mateo\Desktop\Chess\lichess-bot-master\lichess-bot-master\.venv\lib\site-packages\requests\models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: lichess.org/account/me
So to be clear: I have a 401 Client Error and D_R has a 404 Client Error. Please help us!
So to be clear: I have a 401 Client Error and D_R has a 404 Client Error. Please help us!
Here is a soluton guys: https://lichess.org/forum/general-chess-discussion/how-to-create-your-own-bot?page=4
Just look for #34, I explained everything in detail