Skip to content

Question papers

The paper does not add up

The paper's shape breaks a rule of a well-formed paper - the marks do not reach the paper's total, a choice offers fewer questions than it asks for, a section is empty when the paper is marked final. detail gives the first rule broken.

HTTP 422BLUEPRINT_INVALID

In the response

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

meta.rules
Every rule the paper breaks, as sentences.

Example response

HTTP 422 · application/problem+json
{
  "type": "https://smartpathshaala.com/problems/blueprint-invalid",
  "title": "The paper does not add up",
  "status": 422,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "BLUEPRINT_INVALID",
  "requestId": "<also sent as X-Request-Id>",
  "meta": {
    "rules": "<described above>"
  }
}

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