Hi, good peoples:
I am using API to list all my challenges:
call a get request to URL: https://lichess.org/api/challenge
but received this error message :
[error] => Missing scope
Do you have any idea ?
Hi, good peoples:
I am using API to list all my challenges:
call a get request to URL: https://lichess.org/api/challenge
but received this error message :
[error] => Missing scope
Do you have any idea ?
https://i.ebayimg.com/images/g/2V8AAOSwpu9j6Jav/s-l1600.jpg
Make sure you're sending a token which has the challenge:read scope along with your request. https://lichess.org/account/oauth/token/create?scopes[]=challenge:read
curl https://lichess.org/api/challenge -H "Authorization: Bearer lip_TokenYouCreated"
Make sure you're sending a token which has the `challenge:read` scope along with your request. https://lichess.org/account/oauth/token/create?scopes[]=challenge:read
curl https://lichess.org/api/challenge -H "Authorization: Bearer lip_TokenYouCreated"
@ItsGam3Tyme said in #3:
Make sure you're sending a token which has the challenge:read scope along with your request. lichess.org/account/oauth/token/create?scopes[]=challenge:read
curl lichess.org/api/challenge -H "Authorization: Bearer lip_TokenYouCreated"
Thanks you so much, your answer helped!!
@ItsGam3Tyme said in #3:
> Make sure you're sending a token which has the `challenge:read` scope along with your request. lichess.org/account/oauth/token/create?scopes[]=challenge:read
>
> curl lichess.org/api/challenge -H "Authorization: Bearer lip_TokenYouCreated"
Thanks you so much, your answer helped!!