tigawana
tigawana13mo ago

Remote KV access error : Missing DENO_KV_ACCESS_TOKEN environment variable

i wen through the recomnded steps of adding a .env to the root of the project and adding
DENO_KV_ACCESS_TOKEN=ddp_an_access_token
DENO_KV_ACCESS_TOKEN=ddp_an_access_token
but it's still giving that env not found error
5 Replies
lcasdev
lcasdev13mo ago
Are you loading the .env with --env?
tigawana
tigawanaOP13mo ago
.env
lcasdev
lcasdev13mo ago
Do you pass the flag I mentioned to deno run?
tigawana
tigawanaOP12mo ago
no , am not pssing in --env
lcasdev
lcasdev12mo ago
Pass that flag, otherwise Deno won’t lead your .env file

Did you find this page helpful?