Rank 2: Process
from the overview section at the bottom
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
from the overview section at the bottom
Rank 2: Process
If you are using cloud ur endpoint will be https://cloud.appwrite.io/v1
Rank 1: Thread
ah, without the trailing /graphql?
Rank 2: Process
Yes
Rank 1: Thread
Yes, I created one on the project overview page on the bottom.
Rank 2: Process
okh
Rank 2: Process
then see the docs for the header api property
Rank 2: Process
are you using Appwrite package for query
Rank 2: Process
if yes then you will have to lower the package version for the queries to work
Rank 2: Process
as it stands the cloud is not on 1.5x version yet
Rank 2: Process
the local version is at 1.5x but not the cloud
Rank 1: Thread
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.
Rank 2: Process
Ook no problem
Rank 1: Thread
Changed that, and the response is som 404 HTML 😦
Rank 2: Process
what are you fetching from the endpoint
Rank 1: Thread
with trailing /graphql, there was json with 2 errors and status 200
Rank 2: Process
Okok
Rank 1: Thread
I am fetching the database schema
Rank 2: Process
Are permissions given proper
Rank 1: Thread
Not sure… I have set the API token to allow everything.
Rank 2: Process
Set the permissions properly
Rank 2: Process
and then try with the /graphql
Rank 1: Thread
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?
Rank 1: Thread
Ah I think I found what’s missing!
Rank 1: Thread