Skip to content

Error code · HTTP 422

token_input_unsupported

Title
Token ID input is not supported
What happened
Embeddings input given as token ids can't be masked.
How to fix it
Send the input as text.
Returned by
Gateway mode, Proxy mode
Retry
Retrying the same request fails the same way.
Example response body
{
  "type": "https://maskflare.com/docs/errors/token_input_unsupported",
  "title": "Token ID input is not supported",
  "status": 422,
  "code": "token_input_unsupported",
  "detail": "Send the input as text."
}

All error codes