---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/embeddings/openai/exceptions/variables/E_OPENAI_EMBEDDINGS_HTTP_ERROR.md
description: >-
  Thrown when the upstream `/v1/embeddings` endpoint returns a non-2xx response
  (after retries are exhausted), or the transport throws. Non-fatal. Printf
  args: `[status, detail]` — `status` is `0` for a transport-level failure with
  no HTTP response.
---

# Variable: E\_OPENAI\_EMBEDDINGS\_HTTP\_ERROR

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

Defined in: [batteries/embeddings/openai/exceptions.ts:35](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/batteries/embeddings/openai/exceptions.ts#L35)

Thrown when the upstream `/v1/embeddings` endpoint returns a non-2xx response (after retries
are exhausted), or the transport throws. Non-fatal. Printf args: `[status, detail]` — `status`
is `0` for a transport-level failure with no HTTP response.
