Worker refusing to recognize KV namespace even after binding

I'm trying to increment a key in my namespace from my worker and I keep getting red squiggly lines under my namespace's name along with the message "Cannot find name [NAMESPACE]". I've already added the KV namespace binding in my worker settings. Is there something else I'm missing?
EDIT: I've also just been using the Cloudflare dashboard to bind my variable from my namespace, and I'm using Cloudflare's online text editor to edit my worker.
cw1.JPG
cw2.JPG
Was this page helpful?