Skip to content

Available now

story-context.if ​

Refused 400 schema

A conditional rule failed: because of one field's value, another rule applies, in the story-context payload schema.

OutcomeRefused, 400
Sourceschema: The SOM 1.0 JSON Schema says no. The message is not valid SOM 1.0.
Checked atSOM envelope, version and payload (see the order of checks)
Applies tomessages whose payload is checked against the story-context schema

What it means ​

The message breaks the story-context payload schema. A conditional rule failed: because of one field's value, another rule applies. Typical cause: A status that requires another field to be present.

How to fix it ​

The violations reported alongside it (usually required or const) say what the condition needs. path in the violation points at the field.


Branch on the rule id, never on the violation's message text. All rules: rule catalogue.

SOM is an open standard maintained by the SOM working group. This service is not endorsed by it.