Skip to content
TesseraDocs
MenuDelegation ended, ask the user again

Delegation ended, ask the user again

Code: consentrequired

View as Markdown

On this page

Code: consent_required

  • HTTP status: 400 Bad Request
  • OAuth error: invalid_grant
  • Shown to the end user: Delegation ended, ask the user again

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 user's delegation to this client expired, was revoked or has no uses left, so the token exchange is refused. The body carries code consent_required and authorize_url.

Fix

Send the user to authorize_url (add redirect_uri, state, the PKCE challenge, the scopes and the resource indicators) with the scope tessera:delegate, then exchange the new token.

All error codes