connection_test.wrong_environment
Authentication: the Revolut key belongs to the other environment (Sandbox or Production).
| Code | connection_test.wrong_environment |
|---|---|
| HTTP status | None: a result code, recorded on a resource (for example an operation's resultCode) rather than returned as a problem response (— (result code)) |
| Arguments | None (args is {}) |
Handling it
Branch on code, not on title or the status alone, and log traceId. Codes are stable; new codes may appear, so fall back on the HTTP status for a code you do not know. See Handling errors and the list of codes.