
Unable to access env variables using docs instructions In a appwrite cloud function

Hey there š Its a small bug in our docs. in Node, it should be process.env.YOUR_VARIABLE_NAME

where are you seeing this syntax?

Here


can you try clearing your cache?

alright will do so

do you still see {}?

Hey @Steven yes

I still see {}

after clearing all time cached browser data including browsing history and all

Thanks a lot this worked for me

Hmm perhaps there's still application data in the service worker š§

I see it sometimes (including in Incognito), but usually a hard reload makes it go away
Recommended threads
- When connecting to VCS (Version Control ...
Hello, when I try to define in my function the root path of a function I get this when I click "Update".
- queries.map is not a function
Query.createdBefore doesnt work ``` tables.updateRows({ databaseId: process.env.APPWRITE_DATABASE_ID, tableId: process.env.APPWRITE_TABLE_ID, ...
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
