err:unkey:data:database_not_foundExample response
Likely causes
- The database id or name has a typo. The name is the name of the database in PlanetScale.
- The database is connected to another project of the workspace.
- Your root key can’t read the database. You get this 404 instead of a 403, so the response doesn’t tell whether the database exists.
How to fix
- Check the project and the database in the request. The database is its Unkey id, or its name in PlanetScale.
- Give the root key
readonprojects/{project_id}/databases/{database_id}.