I'm doing a request to get all documents in a collection like this:
https://mydomain.com/v1/databases/6495862f48d7d229caec/collections/640b33c1e55f24e05d10/documents
And I get database not found error, permissions seems to be OK, am I doing something wrong?
Rest API: database not found
What version of Appwrite is this?
I seem to get the same error on 1.3.8. Will try to see what the issue could be
Latest, 1.3.8
yep just tested and I get a 404 as well
okay so I realized the permissions on my collection were set wrong
I tested with REST API on Postman, and it worked
I had to add the X-Appwrite-Project header to the request though
Without the header it gave me a 404 database not found
Uh, then that's the problem. I'm going to try with the header
let me know
[SOLVED] Rest API: database not found
Recommended threads
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...
- Production down - createExecution return...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...
- CreateRow is doing ListRows on self-host...
### setup ``` appwrite 1.9.5 self-hosted bun 1.3 node-appwrite 27.1.0 ``` ### issue Im running a function on a self hosted 1.9.5 with "node-appwrite": "^27.1.0...