Skip to content

General

The request cannot be carried out

The request is well-formed, but carrying it out would break one of the rules of the school data it touches. detail names the rule.

HTTP 422UNPROCESSABLE_ENTITY

In the response

Besides the standard members type, title, status, detail, instance, plus code and requestId:

Nothing else. This error carries no errors or meta.

Example response

HTTP 422 · application/problem+json
{
  "type": "https://smartpathshaala.com/problems/unprocessable-entity",
  "title": "The request cannot be carried out",
  "status": 422,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "UNPROCESSABLE_ENTITY",
  "requestId": "<also sent as X-Request-Id>"
}

Values in angle brackets vary per request. Quote the requestId when reporting an error; it is how the server’s log line is found.