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
- TablesDB can't be used in Appwrite Funct...
I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build...
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...