Firsty

Search...

Search...

API errors

unprocessable_entity

The request is well formed and valid, but the operation it asks for cannot be carried out. The `detail` field explains why.

422application/problem+json

What it means

Every field passed validation, but the operation was refused: the resource does not support it, or a value breaks a business rule rather than a format.

422 · application/problem+json
{
  "type": "https://developers.firsty.app/errors/unprocessable_entity",
  "title": "Unprocessable entity",
  "status": 422,
  "detail": "The eSIM does not support a prepaid balance",
  "code": "unprocessable_entity"
}

How to handle it

  1. Read detail. It names the rule the operation broke.

  2. Do not retry unchanged. The answer stays the same until the request or the underlying data changes.