Skip to content

Available now

message.not_json ​

Refused 400 schema

The body is not JSON.

OutcomeRefused, 400
Sourceschema: The SOM 1.0 JSON Schema says no. The message is not valid SOM 1.0.
Checked atJSON (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.


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.