H
Hono5mo ago
Isra

Cloudflare KV not inserting values

Why doesn't this ADD the user to the KV namespace?. Using cloudflare pages
No description
No description
7 Replies
Isra
IsraOP5mo ago
I ran this command: wrangler kv:namespace create USERS and pasted the ID into the wrangler file, but it doesn't work
Aditya Mathur
Aditya Mathur5mo ago
Did you try awaiting the response?
Isra
IsraOP5mo ago
Yes. That did not fix it I think I'm running the command wrong but I don't know for sure
Aditya Mathur
Aditya Mathur5mo ago
Is there any error coming in the console?
Isra
IsraOP5mo ago
Sadly not
Aditya Mathur
Aditya Mathur5mo ago
Let me try to reproduce this on my end and I will get back to you
Isra
IsraOP5mo ago
Thanks! @Aditya Mathur No need - I was able to fix the issue. the solution was to use the --preview argument in the wrangler command

Did you find this page helpful?