Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
KV - Some clients get null value for existing key. - Cloudflare Developers
CD
Cloudflare Developers
•
2y ago
•
19 replies
liorsbg
KV - Some clients get null value for existing key.
This is VERY weird
. I
've got a simple link shortening service
.
On the same network
, two different clients calling
GET http://<URL>/slug
GET http://<URL>/slug
This calls
env.SHORTENED.get(slug)
env.SHORTENED.get(slug)
on the worker
.
For one client this results in
null
null
(and 404
)
For the other client the key is found successfully
(and 301 to full URL happens
)
.
Looks like this is not very frequent but has happened on more than one occasion on more than one device
.
Also
, this is intemittent
, sometimes the request from the problematic device is successful
.
Any help or ideas for what to try to debug this would be greatly appreciated
.
Thanks
!
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
KV giving null while doing get even though the key exists
CD
Cloudflare Developers / workers-and-pages-help
3y ago
KV Store max value exceeded for put
CD
Cloudflare Developers / workers-and-pages-help
2y ago
Key-rotation worker (using KV namespace)
CD
Cloudflare Developers / workers-and-pages-help
2y ago
How do I add key, value entries to my Cloudflare Workers KV in javascript?
CD
Cloudflare Developers / workers-and-pages-help
3y ago