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

This calls env.SHORTENED.get(slug) on the worker.

For one client this results in
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!
Was this page helpful?