---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/openai_chat_completions/exceptions/variables/E_OPENAI_CHAT_COMPLETIONS_HTTP_ERROR.md
description: >-
  Thrown when the upstream Chat Completions endpoint returns a non-2xx response.
  Non-fatal — surfaced via `ctx.nack(...)` so middleware can decide retry /
  fail.
---

# Variable: E\_OPENAI\_CHAT\_COMPLETIONS\_HTTP\_ERROR

```ts
const E_OPENAI_CHAT_COMPLETIONS_HTTP_ERROR: CreatedException<[number, string]>;
```

Defined in: [src/batteries/llm/openai\_chat\_completions/exceptions.ts:45](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/exceptions.ts#L45)

Thrown when the upstream Chat Completions endpoint returns a non-2xx response. Non-fatal —
surfaced via `ctx.nack(...)` so middleware can decide retry / fail.
