Skip to content

Exams

Subject not in curriculum

The timetable schedules a subject for a class that does not study it, so no marks could ever be entered for that paper. Add the subject to the class's curriculum, or remove it from the timetable.

HTTP 422EXAM_TIMETABLE_OFF_CURRICULUM

In the response

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

meta.pairs
The { classId, subjectId } pairs outside the curriculum.

Example response

HTTP 422 · application/problem+json
{
  "type": "https://smartpathshaala.com/problems/exam-timetable-off-curriculum",
  "title": "Subject not in curriculum",
  "status": 422,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "EXAM_TIMETABLE_OFF_CURRICULUM",
  "requestId": "<also sent as X-Request-Id>",
  "meta": {
    "pairs": "<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.