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
- [v1.8.1] Getting error "(role: applicati...
... but that scope doesn't exist. I am trying to get a function to run and modify tables in the database dynamically. I set everything up and eventually got: ...
- Scheduled function silently stopped firi...
Function is scheduled `* * * * *` and is `enabled: true`, but Appwrite Cloud has stopped queueing executions. Last execution: **2026-05-30 00:47 UTC** (~46h...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I canβt fin...