Appearance
message.not_json
Refused 400 schemaThe body is not JSON.
| Outcome | Refused, 400 |
| Source | schema: The SOM 1.0 JSON Schema says no. The message is not valid SOM 1.0. |
| Checked at | JSON (see the order of checks) |
What it means
The request body could not be parsed as JSON.
How to fix it
Send exactly one JSON object, UTF-8 encoded, with Content-Type: application/json.
Related rules
Branch on the rule id, never on the violation's message text. All rules: rule catalogue.