Skip to main content
err:planetscale:config:refresh_refused
PlanetScale refused to refresh the workspace’s access, for a reason other than the workspace’s own connection. The problem is on Unkey’s side, not in your request. You get HTTP 500.

Likely causes

  • The OAuth app’s client secret is wrong or was rotated.

How to fix

  1. On Unkey Cloud, send the request ID to support.
  2. If you run Unkey yourself, check client_id and client_secret under [planetscale] in the API config.
Last modified on November 27, 2026