Sean KnowlesS
Deno16mo ago
Sean Knowles

DenoKV - Missing DENO_KV_ACCESS_TOKEN environment

Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags
error: Uncaught (in promise) NotFound: Missing DENO_KV_ACCESS_TOKEN environment variable. Please set it to your access token from https://dash.deno.com/account.: environment variable not found
      const kv = await Deno.openKv(kvUrl)


Can't find much info in the docs to be able to set this, where do we set it? I tried to pass a second option to the DenoKV() to set the accessToken, but it didn't work.
Screenshot_2024-09-08_at_20.04.52.png
Was this page helpful?