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
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...
- GitHub Student Login Loop Issue
signed up using my GitHub Student Developer Pack. However, whenever I click "Sign in with GitHub", I get stuck on the login page. No matter how many times I try...
- Google OAuth Not Working on Brave/Firefo...
I'm having an issue with Google OAuth in my React + Appwrite app. After login, the dashboard is accessible only in Microsoft Edge, but fails in Brave and Firefo...