Appearance
delivery-media-available.type
Refused 400 schemaThe wrong JSON type, in the delivery-media-available 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 delivery-media-available schema |
What it means
The message breaks the delivery-media-available payload schema. The wrong JSON type. Typical cause: null where a string is required, a number sent as a string.
How to fix it
Send the type the schema asks for. path in the violation points at the field.
Branch on the rule id, never on the violation's message text. All rules: rule catalogue.