Skip to content
TesseraDocs
MenuPKCE code_verifier invalid

PKCE code_verifier invalid

Code: codeverifierinvalid

View as Markdown

On this page

Code: code_verifier_invalid

  • HTTP status: 400 Bad Request
  • OAuth error: invalid_grant
  • Shown to the end user: PKCE code_verifier invalid

Request-specific detail for this error goes to the app or developer (API response, developer view, logs). The public page shows only the short message and the code.

Cause

The code_verifier is missing or does not hash to the code_challenge sent on /authorize, or it was sent when no challenge was.

Fix

Send the exact verifier whose S256 hash you sent as code_challenge, and keep it per authorization request.

All error codes