Passthrough Errors

Passthrough errors are responses that should be passed to the UI as end user facing messages. We recommend against mapping these due to the variable nature of Wise dynamic forms messages, although mapping is possible if desired. The errors below are typically related to UI input or form data, and are able to be resolved by end users in most cases.

Please make sure to only passthrough end-user friendly messages. The message field is not always suitable for UI exposure for partners.
Example Response
{
"errors": [
{
"code": "MISSING",
"message": "Please enter your first name",
"path": "firstName",
"arguments": [
"firstName"
]
},
{
"code": "ERROR",
"message": "Unparseable date: \"1234\"",
"path": "dateOfBirth",
"arguments": [
"dateOfBirth"
]
}
]
}

Where to use passthrough errors

The following are the most common areas that partners should build a passthrough design for their Wise integration, though other specific flows may also contain errors structured for passthrough.

Quote