mybasev1.0.21

Troubleshooting

Common error messages from the CLI, API, and SDK, and what fixes them.

MessageCauseFix
can't reach the API at …Wrong URL or mybase is downmybase login --url <url> or set MYBASE_API_URL; check curl <url>/health
not signed in. Run mybase loginNo saved token, no MYBASE_TOKENmybase login, or export an API key as MYBASE_TOKEN
the API rejected your token / invalid API keyRevoked or mistyped keyMake a new key: mybase token create …
Too many requests with a wrong keyRepeated bad keys from one IPWait the given seconds; fix the key
this API key needs queue:write (any <resource>:<level>)Key lacks that permissionmybase token update <id> --perm … or use another key
this API key can't access project "x"Key is limited to other projectsmybase token update <id> --project …
this API key needs the admin permissionRoute is admin-only (SQL, extensions, keys)Use an admin key, or the app's own DB connection
refusing without --yes (no terminal to confirm)Destructive command run non-interactivelyConfirm with the user, then add --yes
queues are not enabled for this project (any service)Service is offmybase <service> enable <project>
project "x" not foundTypo or wrong instancemybase project list
NOPERM from the cacheKey without the <project>: prefixPrefix every key, or set keyPrefix in the client
Cron calls fail signature checksApp has an old or wrong MYBASE_CRON_SECRETmybase cron secret <project> and update the app
S3 client errors on bucket hostVirtual-host addressingforcePathStyle: true
CLI and server versions differOne side is olderUpdate the CLI (install script) or the server (docker compose pull)

Every API response has an X-Request-Id header; the server log line for the request carries the same req= id.