ErrorResponse
A single problem with a request. Errors arrive as an array under errorResponse.errors.
- affectedType: array of integer | nullFormat: int32
Entity Ids Identifiers of the entities this error relates to, where the error is about specific records rather than a field. Omitted when not applicable.
- errorType: string | null
Code Stable machine-readable identifier for the error. This is the value to branch on.
nullfor framework-level field validation, whereerrorFieldanderrorMessagecarry the detail instead. - errorType: string | null
Field Which input caused the problem.
nullwhen the error is not tied to one field. For nested request objects this is a path, for exampleUserDetails.City. - errorType: string | null
Message Human-readable description of what went wrong. Safe to log. Wording can change between releases, so branch on
errorCoderather than on this string. - errorType: integer | nullFormat: int32
Number read-onlyNumeric form of
errorCode, and equally stable.nullwhenerrorCodeis null or is not one of the catalogued codes. See the Errors and Rate Limits guide for the full list. - searchType: nullable
Criteria Properties: 9What the buyer would have to enter to search again. Omitted entirely when there is nothing to carry, so an answer that never had a search looks exactly as it does today. Whether searching again is worth offering is carried by Chaiz.Domain.ErrorResponse.ErrorCode, not by the presence of this.
- suggestionsType:Properties: 3
What to do about this error, when Chaiz can suggest something concrete. Omitted entirely when there is no suggestion, so treat it as optional. Designed to be actionable without interpretation, which makes it useful for AI agents and automated integrations.