Skip to main content

Account needs a reconnect

If PlanetScale refuses the account’s token, for example because you revoked access on the PlanetScale side, the account is marked as needing a reconnect. Until you connect the account again:
  • Database actions for the account fail in the dashboard.
  • New deployments fail in every environment connected to its databases, and so do stopped deployments that wake. The error is “The PlanetScale account of a connected database must be reconnected.” A deployment that fails to wake stays stopped and shows this error in the Instances stage on its page.
  • Running deployments keep working.
To fix it, a workspace admin opens the database on the project’s databases page, clicks Reconnect in the banner, and signs in to PlanetScale as the user who connected the account. Signing in as a different user doesn’t fix it.

Deploy errors

Unkey creates a deployment’s database credentials before the build. If that fails, the deployment fails before building, GitHub shows “Database credentials could not be created”, and the deployment shows one of these errors:
Last modified on November 25, 2026