Skip to main content

ProblemDetail

Error response following RFC 9457 Problem Details for HTTP APIs. Affiliates are encouraged to use this format for error responses to aid Holidu in debugging push failures.

typestring<uri>required

A URI reference that identifies the problem type (RFC 9457 ยง3.1.1).

Example: https://api.affiliate-example.com/problems/validation-error
titlestringrequired

A short, human-readable summary of the problem type.

Example: Validation Error
statusintegerrequired

The HTTP status code.

Example: 400
detailstring

A human-readable explanation specific to this occurrence of the problem.

Example: Request body is not valid JSON.
instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

Example: /apt-12345/los
ProblemDetail
{
"type": "https://api.affiliate-example.com/problems/validation-error",
"title": "Validation Error",
"status": 400,
"detail": "Request body is not valid JSON.",
"instance": "/apt-12345/los"
}