ValidationError
errorCodestringrequired
Machine-readable error code indicating the type of error.
Example:
VALIDATION_ERRORmessagestringrequired
Human-readable description of the error.
Example:
Input validation errorserrors object
Object where each key corresponds to the name of an invalid field. Each value is an array of strings, where each string describes a specific validation issue for that field.
property name* string[]
Array [
string
]
ValidationError
{
"errorCode": "VALIDATION_ERROR",
"message": "Input validation errors",
"errors": {
"amount": [
"[required]: Is a required non-nullable field",
"[int]: Must be an integer",
"[min:0]: Must be greater than 0",
"[max:999999999]: Must be less than 999999999"
]
}
}