Overview
When a request to the Payroll Integrations API fails, the response will include an error object with details about what went wrong. All error responses follow a consistent structure to make error handling straightforward and predictable.Error Object Structure
Error responses contain the following fields:string
required
A human-readable error message describing what went wrong. This provides a
high-level summary of the error.
array
An optional array of detailed error messages. When present, this provides
additional context or lists multiple validation errors that occurred.