Hey @phatso are you able to confirm the ticket number you raised? Wondering if it's the one I was on
Hey @phatso are you able to confirm the ticket number you raised? Wondering if it's the one I was on just now, or another
get will be null if that key doesn't exist.
toml?await env.HEADERS.get(..) returns null for themnpx wrangler deploy ed the same code. The binding IDs are correct and nothing shows up in the KV. The worker gets hit 155k/24hnpx wrangler dev too.curl requests I made after the deploy. Is there a delay in the global worker deployment or is the KV localised?


export default { syntax. Every request should hit it.
id as in [[kv_namespaces]] id = Connect your Worker to a custom domain. panel.nullnullawait env.HEADERS.put(uuid, packedHeaders, { expirationTtl: 60 * 60 * 24 * 7 });toml[[kv_namespaces]]
binding = "HEADERS"
id = "xxx"
preview_id = "xxx"kv_namespaces = [
{ binding = "<MY_NAMESPACE>", id = "<KV_ID>" }
]await env.HEADERS.get(..)npx wrangler deploynpx wrangler devbinding = "HEADERS"
id = "659461f0c2c446b..."
preview_id = "65ee1a3b420c4b..." async fetch(request, env, ctx) {
// ... snip ...
await env.HEADERS.put(uuid, data, { expirationTtl: 60 * 60 * 24 * 7 });
// ... snip ... export default {[[kv_namespaces]]id = Connect your Worker to a custom domain.env.NAMESPACE.get(['foo', 'bar', 'bang'])