Skip to main content

Error Response

All error responses in the API follow the RFC 7807 standard using the application/problem+json content type.

Sample Error Response

{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"detail": "See the errors property for details.",
"instance": "/api/Auctions",
"errors": {
"startingPrice": ["Starting price must be greater than 0."],
"title": ["Title is required."]
}
}

Property Breakdown

PropertyTypeDescription
typestringA URI reference that identifies the problem type. You can look it up for more info.
titlestringA short, human-readable summary of the problem.
statusnumberThe HTTP status code generated by the server (e.g., 400, 404, 500).
detailstringA human-readable explanation specific to this occurrence of the problem.
instancestringA URI reference that identifies the specific request instance (usually the request path).
errorsobject(Optional) A dictionary of validation errors. Present only for 400 Bad Request responses from validation. Keys are property names; values are arrays of error messages.