Problem
Every error (RFC 7807). message and error repeat detail and code for older clients.
typestring
Example:
https://developers.nuntiq.com/errors/lease_mismatchtitlestring
Example:
Conflictstatusinteger
Example:
409codestring
Example:
lease_mismatchdetailstring
request_idstring
Also in the X-Request-Id header; quote it to support
messagestring
errorstring
errors object[]
Array [
pathstring
Example:
[3].locations[0].bank_accounts[1].swift_codecodestring
Example:
invalid_valuemessagestring
]
Problem
{
"type": "https://developers.nuntiq.com/errors/lease_mismatch",
"title": "Conflict",
"status": 409,
"code": "lease_mismatch",
"detail": "string",
"request_id": "string",
"message": "string",
"error": "string",
"errors": [
{
"path": "[3].locations[0].bank_accounts[1].swift_code",
"code": "invalid_value",
"message": "string"
}
]
}