
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
- Migrate IDs
Hi everyone, is it possible to migrate entries with an ID to another ID (like just change the ID of e.g. a database, collection, bucket, etc.)? I could write a ...
- Bulk API upsert or Create documents func...
Hi , I keep getting “databases.upsertDocuments” or “createDocuments” function is not a valid appwrite function error . Following is a simple node.js code (modi...
- Event Triggers Not Sending User Object P...
``` UpdateUserEvent Request: {"body":{"onboarded":"false"},"bodyRaw":"{\"onboarded\":\"false\"}","bodyText":"{\"onboarded\":\"false\"}","bodyJson":{"onboarded":...
