I want to create an appwrite function which queries to database but i'm unable to access the database
I'm getting endpoint as "endpoint":"https://HOSTNAME/v1" although i'm setting it to : "https://cloud.appwrite.io/v1" which i think it should be.
Can you check if those are defined in appwrite.json settings file
There should be a key called variables under function object array
Yes it's there
I even tried setting them through the dashboard for this function under the environment variables
This error means client.setEndpoint() isn't being called
But how? I mean I'm using the generated index.js file from the appwrite create function command
That doesn't really matter. Look at the code and think about why client.setEndpoint() might not be called
Recommended threads
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...