Error: “The message can’t be validated: …” despite non-required field

For a field marked as “Required” in the Experience Data Model (XDM) schema, this means the field has to be present in the incoming data for validation purposes.

If marked as “Not required”, but it is present then it must adhere to its definition, (with “string” value as opposed to no value at all).

The value null is not accepted/supported by Adobe Experience Platform (AEP) ingestion process. If a field does not have a value, then it must be excluded from the payload.

Description description

Environment

Adobe Experience Platform (AEP)

Issue/Symptoms

During data ingestion, an error message occurs: "The message can’t be validated: [ #/_field_path: expected type: String, found: Null] " despite the field not being required.

What is the definition of “Required” in this case?

Resolution resolution

For a field marked as “Required” in the Experience Data Model (XDM) schema, this means the field has to be present in the incoming data for validation purposes.

If marked as “Not required”, but it is present then it must adhere to its definition, (with “string” value as opposed to no value at all).

The value null is not accepted/supported by Adobe Experience Platform (AEP) ingestion process. If a field does not have a value, then it must be excluded from the payload.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f