List validation errors

Call https://api.ometria.com/v2/push/_errors to get a list of the 100 most recent push errors.

You'll receive an array of error objects.

An error object contains two fields:

  • error_message - a string containing the message associated with the error
  • error_path - a string containing the path to the incorrect value found in the record.

Example:

[
        {
            "error_message": "not a valid value",
            "error_path": "root > lastname"
        }
    ]

The error_message value will usually be the same - i.e. not a valid value.

The error_path provides useful context, and you can check our API reference for the associated field to understand the validation requirements:

28522852