I'm using the Cloudflare JS SDK in a project I just setup. The response I'm getting is `error: 400 {

I'm using the Cloudflare JS SDK in a project I just setup. The response I'm getting is error: 400 {"success":false,"errors":[{"code":10001,"message":"Unable to authenticate request"}]}. When I switch to my global key it works, but when I switch to my read & edit D1 key I get this auth error.
Screenshot_2025-02-06_at_10.19.22.png
Was this page helpful?