The error indicates that a property received null when the schema expected text. The solution is to represent valid process data, not to remove all checks.

Work through the example

  1. Locate the failed action and inspect the actual value. Distinguish null, an empty string, and a property that does not exist.
  2. If null is a permitted value, declare the string and null types for that property. If it is not, correct or validate the data before analyzing it.
  3. Also check the required list. An absent property and a property with null require different decisions in the schema.

Example to adapt

The sample retains its original field names and string values, including Spanish names. Match these to your own data.

Review names, data types, and permissions before incorporating it into your solution.

"Picture": {
  "type": ["string", "null"]
}

Reference documentation

Consult the official source for this topic.

Related documentation in Microsoft Learn