Appearance
link-event.type
Refused 400 schemaThe wrong JSON type, in the link-event 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 link-event schema |
What it means
The message breaks the link-event 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.