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

# Error 3006: Unexpected server error

> Resolve Relay error 3006.

Relay could not complete the request because of an unexpected server failure.

## Response

```json theme={null}
{
  "error": {
    "status": 500,
    "code": 3006,
    "message": "Unexpected server error.",
    "doc_url": "https://docs.relayapp.im/error/codes/3xxx/3006"
  },
  "success": false,
  "trace_id": "b923d71e50be43ba9e0fe1e34a7676c2"
}
```

## Fix

1. Record trace\_id and the request time.
2. Retry only when the command is idempotent.

## Retry

Retry only with an idempotency key.

## Related

* [Error overview](/error)
* [Debugging](/guides/platform/debugging)
