Errors
How the API signals problems, and what to do about them.
The API uses standard HTTP status codes. A 2xx means the request succeeded, a 4xx means something about the request
needs to change, and a 5xx means the problem is on our side. Knowing the shape of each response ahead of time means
your integration can handle failures rather than discover them.
Status codes
Validation errors
A 400 returns a problem-details body with an errors map keyed by field name:
Partial batch failures
Batch endpoints such as POST /api/v1/Records/batch can succeed for some items and fail for others. When that happens
the response is 422 with a summary of what went through and what did not, so you can retry just the failures:
Each entry in failed carries the index of the item in your request, the item you submitted, and an error
describing why it was rejected.