SuperTokens · Schema

ErrorResponse

AuthenticationOpen SourceSession ManagementSocial LoginPasswordlessIdentityAuthorizationMulti-TenancyNode.jsSelf-Hosted

Properties

Name Type Description
status string
message string
View JSON Schema on GitHub

JSON Schema

supertokens-errorresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorResponse",
  "title": "ErrorResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "UNAUTHORISED",
        "TOKEN_THEFT_DETECTED",
        "TRY_REFRESH_TOKEN"
      ]
    },
    "message": {
      "type": "string"
    }
  }
}