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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...