Documentation

INVALID_REFRESH_TOKEN

401auth

The refresh token was rejected.

Cause

The token expired, was revoked by a sign-out, or was minted against a different user pool. Retrying with the same value cannot succeed.

How to fix it

Send the user through sign-in again to mint a fresh token pair, and drop the stored refresh token.

Example response

401 INVALID_REFRESH_TOKEN
JSON
{
  "error_code": "INVALID_REFRESH_TOKEN",
  "error_type": "auth",
  "error_message": "The refresh token was rejected.",
  "hint": "Send the user through sign-in again to mint a fresh token pair, and drop the stored refresh token.",
  "docs_url": "https://docs.billerapi.com/errors/INVALID_REFRESH_TOKEN",
  "request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}

Related

Canonical docs URL: https://docs.billerapi.com/errors/INVALID_REFRESH_TOKEN

Was this page helpful?