Closed M-DinhHoangViet closed 1 year ago
Please start python
, copy this script and run it. You have to enter your token first:
import requests
TOKEN = 'ENTER TOKEN HERE'
response = requests.get('https://lichess.org/api/account', headers={'Authorization': f'Bearer {TOKEN}'})
print(response.status_code)
print(response.text)
print()
What do you mean?
Copy what? Paste where?
Never mind, just run the latest BotLi version. Probably your token simply does not exist.
OH, my TOKEN. lol
Please read, understand and follow: https://lichess.org/@/thibault/blog/how-to-ask-technical-questions/1HSthDSX
Describe the bug Error in api.py
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Information:
Config: Paste your config.yml here REMOVE YOUR TOKEN:
Additional context In cmd