Partner Mapped Errors
Partner mapped errors are responses that should not be passed directly to the UI, and should be used for error logging and mapping to your own UI error messages. This should typically be done for non-friendly error responses, and errors that occur in flows where the end user is unable to resolve error themselves.
Example Response
{"error": "invalid_token","error_description": "945fdc16-56cb-4039-90b4-998d583740ce"}
Where to use partner mapped errors
Mapping Wise error responses or building your system to avoid those errors should be done for the majority of errors if they are not listed specifically in the Passthrough Errors section.
Array Response Example
{"errors": [{"code": "CurrencyCode","message": "That wasn't a valid ISO-4217 currency code (like GBP, USD or EUR).","path": "targetCurrency","arguments": []},{"code": "CurrencyCode","message": "That wasn't a valid ISO-4217 currency code (like GBP, USD or EUR).","path": "sourceCurrency","arguments": []}]}