Appearance
story-context.const
Refused 400 schemaA value that must be one fixed value, in the story-context payload schema.
| Outcome | Refused, 400 |
| Source | schema: The SOM 1.0 JSON Schema says no. The message is not valid SOM 1.0. |
| Checked at | SOM envelope, version and payload (see the order of checks) |
| Applies to | messages whose payload is checked against the story-context schema |
What it means
The message breaks the story-context payload schema. A value that must be one fixed value. Typical cause: The wrong message_type inside a payload.
How to fix it
Use the value the schema fixes. path in the violation points at the field.
Branch on the rule id, never on the violation's message text. All rules: rule catalogue.