Hello I frequently encounter code 971 issues while using KV. Could you please clarify what specific

Hello I frequently encounter code 971 issues while using KV. Could you please clarify what specific limitation this refers to? How can I adjust to reduce the occurrence of this problem?​⬤
16 Replies
katopz
katopz3mo ago
How can I wrangler kv key get from local disk? as i recall it has persist flag or something 🤔
Hello, I’m Allie!
—local?
katopz
katopz3mo ago
10 point for gryffindor! is it undoc? i can't find things
katopz
katopz3mo ago
but cli seem to have it 😵
No description
thomasgauvin
thomasgauvin3mo ago
GitHub
[KV] Wrangler-KV Command Update by Oxyjun · Pull Request #16400 · c...
Summary Continuation of the PR from: #15985 TLDR of this current PR: Centralising Wrangler-KV commands into partials/workers/wrangler-commands/kv.mdx. This is the single source of truth for Wrang...
katopz
katopz3mo ago
Thanks, that should save someone an hour 😅. Actually it should able to auto generate/update from a cli. Maybe we could automate that somehow 🤔 Oh we can actually use llm to do just that + function call to made a PR, nice idea for next hackathon 😎
Hard@Work
Hard@Work3mo ago
AI Hallucinates --remocal, which tests in local/remote 50% of the time You just have to guess
xiaolong01
xiaolong013mo ago
Hi Cloudflare team, I'm experiencing an issue with KV read operations and would like some clarification. In my project hosted on Cloudflare Pages, we have around 500k total visits, and within those, about 70k subrequests. However, I'm seeing an unexpectedly high number of KV read operations – specifically 13,919,754 reads – despite only storing around 20 items in the KV namespace and querying them by key. I've checked my code, and it doesn't seem like there are any duplicate KV reads. The number of reads is way higher than what I would expect from our traffic. Could this be related to caching behavior, strong consistency, or something else I'm missing? Any insights into how KV reads are calculated in this scenario would be greatly appreciated! Thank you in advance for your help.
a4amaan
a4amaan3mo ago
i got the same issue, and reported... i got answer that it is a small bug under resolution... and this high KV read is not currently impacting billing... https://discord.com/channels/595317990191398933/874727019479437372/1280464457864319016
thomasgauvin
thomasgauvin3mo ago
Hi @xiaolong01 and @a4amaan, that is correct, there is currently a bug in the dashboard & GraphQL API that is displaying higher metrics than what is accounted on your KV namespaces. We are working on a fix. This does not affect billing.
Chaika
Chaika3mo ago
Hey Thomas 👋 Just to confirm, this wouldn't impact billing at all, and anyone effected doesn't need to ticket billing to get their bill adjusted or anything like that?
thomasgauvin
thomasgauvin3mo ago
Correct (edited in line) This has been resolved now!
Zack
Zack3mo ago
Hey, trying to write some data to KV with a script I have used previously without issue, now seeing occasional 502 responses through from the API. Is there a current ongoing issue causing this?
Noil
Noil3mo ago
My application accesses files from the KV-store and have been running into the issue that specifc files cannot be found but they are clearly in the store when checking through the web dashboard. Specificly it has happened to /lib/config-DMEbaV5l.js every other files seems to work perfectly fine
Mozzy
Mozzy3mo ago
What's the highest cacheTtl allowed for .get()?
Want results from more Discord servers?
Add your server