err:unkey:data:database_branch_not_founddatabases.createBranch this is the parent name, or the default branch of the database if you left parent out. In connections.createConnection and connections.updateConnection this is config.planetscaleDatabase.branch, an id or a name. You get HTTP 404.
Example response
Likely causes
- The name or id has a typo. Branch names are case-sensitive.
- Someone deleted or renamed the branch in PlanetScale.
How to fix
- List the branches of the database with
databases.listBranches. - Retry with a name or
idfrom the list. If the branch you need is gone, create it again withdatabases.createBranch.