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 errorerror_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:
![Screenshot 2022-08-10 at 09.14.42.png 2852](https://files.readme.io/27a4675-Screenshot_2022-08-10_at_09.14.42.png)
Updated almost 2 years ago