Skip to content

objective_scoring_invalid

Publish (or a release-gate request) is blocked: one or more objectives carry a scoring block the survey scorer cannot read - unknown scale, mapping keys outside the scale's answer set, ordinal without a matching points count, a scored question with no id or no question text, or duplicate objective ids. errors[] names every broken field (objectives[i].scoring.mapping, …). The same lint runs at write time as a 422, so this fires only for drafts that predate contract enforcement (docs/08 §Objective scoring compilation).

Problem shape

Every non-2xx response is an RFC 9457 application/problem+json body. The type URI below is stable and machine-matchable, so branch on the final path segment (the code) and treat the status as redundant confirmation. See the error-handling guide.

{
  "type": "https://docs.vocapable.com/errors/objective_scoring_invalid",
  "title": "…",
  "status": 409,
  "detail": "…",
  "instance": "/v1/…"
}

← Back to the error registry