Go to developer

callback_state_missing

Redirect callback resumed without a state query parameter.

On this page
Clientredirectoauthweb

Code: callback_state_missing · Shape: sdk_client

Meaning

Redirect callback resumed without a state query parameter.

Likely causes

  1. Callback URL stripped query params
  2. Manual navigation to callback without KEYRA params

How to diagnose

  • handleRedirectCallback throws KeyraOAuthError callback_state_missing.

How to fix

  • Restart OAuth redirect from verifyWithRedirect.
  • Ensure callback route preserves query string.

Retry behavior

Restart the flow. Do not invent state.

SDK: handleRedirectCallback(), verifyWithRedirect()

Troubleshooting: popup-redirect

Guides: Redirect flow