# Error

> Ozow sends, over the Transaction processing WebSocket channel
> Part of the One API WebSocket reference. Source: https://hub.ozow.com/api-reference/one-api-websocket/channels/transaction-processing/send-error-response/

Ozow reports an error

Sent when a step fails. `canContinue` says whether the transaction survives it.

When `canContinue` is true, send the last message again with the problem corrected. When it is false, the transaction is over.

Content type: `application/json`

## Authentication

- `bearerToken`: `Authorization: Bearer <access_token>`, using an access token from `POST /token` on the One API. Authentication or authorisation failure closes the connection with `403 Forbidden`.

## Payload

- `title` (string, required) - The title of the error response.
- `detail` (string, required) - The details of the error response.
- `canContinue` (boolean, required) - Whether processing on the particular transaction can continue. When true, send the last message again with the problem corrected.

## Examples

A step failed and the transaction can continue:

```json
{
  "title": "Invalid credentials",
  "detail": "The username or password was not accepted by the bank.",
  "canContinue": true
}
```
