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
- All Apple platforms are invalidated on t...
Just saw a lot of errors coming from iOS apps where Cloud is throwing **403** with type **general_unknown_origin**. Culprit is that all Apple platforms suddenly...
- Domains available on the functions home ...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.