Skip to content

Available now

envelope.type ​

Refused 400 schema

The message, or a field of its envelope, has the wrong JSON type.

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)

What it means ​

Either the body is JSON but not an object (an array, a string, a number), or a field of the envelope has the wrong JSON type, for example a number where the schema wants a string. path says which.

How to fix it ​

Send one JSON object per request, and give the field at path the type the SOM envelope schema asks for.


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.