---
title: "Internal Server Error (internal-error)"
description: "PubNio internal-error problem, HTTP 500: An unexpected error, or any 500 response: the server replaces the body and logs the failure as api_internal_failure under the same requestId."
---

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

# Internal Server Error (internal-error)

HTTP 500 Internal Server Error. An unexpected error, or any 500 response: the server replaces the body and logs the failure as `api_internal_failure` under the same `requestId`.

## When it happens

Every API operation declares it.

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/internal-error/",
  "status": 500,
  "title": "Internal Server Error",
  "code": "internal_error",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

## Recovery for agents

- Quote `requestId` when you report it. Replay a write only with the same `Idempotency-Key`, so it cannot run twice.

## Retryable

Yes: the SDKs mark HTTP 500 `retryable` but never retry on their own. Replay a write with the same `Idempotency-Key`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [General problems](https://pubnio.com/docs/problems/#general)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/internal-error/index.mdx
