from the overview section at the bottom
If you are using cloud ur endpoint will be https://cloud.appwrite.io/v1
ah, without the trailing /graphql?
Yes
Yes, I created one on the project overview page on the bottom.
okh
then see the docs for the header api property
are you using Appwrite package for query
if yes then you will have to lower the package version for the queries to work
as it stands the cloud is not on 1.5x version yet
the local version is at 1.5x but not the cloud
I’m using the cloud. I don’t use the Appwrite package. I’m using a CLI utility called elm-graphql that builds the query and accepts the headers.
Ook no problem
Changed that, and the response is som 404 HTML 😦
what are you fetching from the endpoint
with trailing /graphql, there was json with 2 errors and status 200
Okok
I am fetching the database schema
Are permissions given proper
Not sure… I have set the API token to allow everything.
Set the permissions properly
and then try with the /graphql
Is it correct that the API key gives the permissions? On the Appwrite console, the API key scope includes everything. Now I have set all permissions for “Any” role to active for each database table. Still, the errors are the same. Is there another option I need to activate to give permission?
Ah I think I found what’s missing!
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...