Skip to content
Relay docsThe Plaid of insurance — one connection between every carrier and every agency system.
All error codes

invalid_public_token

HTTP status
400
Cause
The public_token is unknown, expired (30 minutes) or was already exchanged.
Fix
Run Link again to get a fresh public_token and exchange it once.

Sample response

{
  "error": {
    "type": "invalid_request",
    "code": "invalid_public_token",
    "message": "The public_token is unknown, expired (30 minutes) or was already exchanged.",
    "documentation_url": "https://emeraldrelay.com/docs/errors/invalid_public_token",
    "request_id": "req_01JB8Q3Z7N4V2K5T9X6M1C0F8D"
  }
}