i got this msg when i query a d1 db ``` {"success":false,"errors":[{"code":10000,"message":"Authenti

i got this msg when i query a d1 db
 {"success":false,"errors":[{"code":10000,"message":"Authentication error"}]}  https://api.cloudflare.com/client/v4
/accounts/{account-identifier}/d1/database/{database-identifier}/query  
but when call list api
 https://api.cloudflare.com/client/v4
/accounts/{account-identifier}/d1/database 
the api was successfull .
i dont know what am i doing wrong , help me solve this with steps to create a perfect API Token for d1 read query access.
Was this page helpful?