DenoDDeno
Powered by
Sean KnowlesS
Denoβ€’2y agoβ€’
6 replies
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)
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
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Remote KV access error : Missing DENO_KV_ACCESS_TOKEN environment variable
tigawanaTtigawana / help
3y ago
Deno + Vite + DenoKV
AndiAAndi / help
2y ago
Where is my Twitter access token with Deno KV Oauth?
PixelPPixel / help
3y ago
Using Deno.KV outside deno deploy environment, limit problem
vtsflyVvtsfly / help
2y ago