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
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- SyntaxError: Unexpected end of JSON inpu...
I am trying to create a fcm push notification service using appwrite functions with its REST API to invoke that function from my client side app and getting thi...
- Experiencing inconsistent "500 general_u...
I am developing a task management app that uses Appwrite auth. My project is hosted on Appwrite cloud and I've created basic server-side authentication followin...