Null Values

Learn null values are interpreted by External Services.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions

OpenAPI 2.0 doesn’t support the JSON or YAML schema type null. See JSON Schema - 4.2.1 Instance Data Model.

OpenAPI 3.0 has added support to allow values to be nullable. See OpenAPI 3 - Schema Object.

External services allow null values in the request payload or the response payload for both OpenAPI 2.0 and 3.0 specifications regardless of whether the specification forbids or explicitly allows its use.

Tip
Tip If null values aren’t allowed for your service integration, validate the request payload for null values before invoking an external service.