6 Replies
Mathis @ beamlit.com
Did you configure binding inside your wrangler.toml? Did you wrangler login?
A.M.Asgari
A.M.AsgariOP4w ago
Yes, the kv binding works just fine, both locally and when deploy But ai gives that error
Mathis @ beamlit.com
Have you generate the env interface in your code? With I think npm run cf-typegen ?
A.M.Asgari
A.M.AsgariOP4w ago
Yes It works correctly as i use vscode and it is not showing any errors and recognises all types
A.M.Asgari
A.M.AsgariOP4w ago
I think its irrevelent to my issue

Did you find this page helpful?