> ## Documentation Index
> Fetch the complete documentation index at: https://docs.finventi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Account Unblock Failed

> Webhook notification sent when unblocking an account fails

<Note>
  This webhook is sent when an account unblock request has failed.
</Note>

## Webhook Structure

<ParamField body="id" type="string (UUID)" required>
  Unique identifier for this event
</ParamField>

<ParamField body="time" type="string (ISO 8601)" required>
  Timestamp of when the event occurred
</ParamField>

<ParamField body="correlationId" type="string">
  Identifier to correlate the request with the response. Present when provided in the original request.
</ParamField>

<ParamField body="type" type="string" required>
  The type of event. Value: `account.unblock-failed`
</ParamField>

<ParamField body="data" type="object" required>
  The event data containing the details below
</ParamField>

### Data Fields

<ParamField body="data.accountId" type="string (UUID)" required>
  Unique identifier of the account that failed to unblock
</ParamField>

<ParamField body="data.errors" type="array" required>
  List of errors that caused the failure

  <Expandable title="Error object properties">
    <ParamField body="code" type="string" required>
      Error code indicating the reason for the failure
    </ParamField>

    <ParamField body="message" type="string">
      Description of the error
    </ParamField>
  </Expandable>
</ParamField>

## Error Codes

<Note>
  New error codes may be added in future versions. Consumers should handle unknown codes gracefully.
</Note>

| Code                  | Description           |
| --------------------- | --------------------- |
| `ACCOUNT_NOT_FOUND`   | Account not found     |
| `ACCOUNT_NOT_BLOCKED` | Account not blocked   |
| `UNKNOWN_ERROR`       | Unknown error         |
| `SYSTEM_ERROR`        | Internal system error |

## Request Example

```json theme={null}
{
  "id": "a0b6c4d7-8ebf-45a9-cb3d-4d6f8a0b2c5e",
  "time": "2025-01-15T10:30:00Z",
  "correlationId": "f6eba9b8-4c7d-4fc0-e6ba-5d9c1a3f7b4e",
  "type": "account.unblock-failed",
  "data": {
    "accountId": "019cde44-2f96-7dc1-31cb-df8cade5e7b0",
    "errors": [
      {
        "code": "ACCOUNT_NOT_BLOCKED",
        "message": "An error occurred while unblocking the account"
      }
    ]
  }
}
```
