# Type Alias OrchestrationError

OrchestrationError: {
code: number;
headers?: Record<string, string>;
intermediate_results?: ModuleResults;
location: string;
message: string;
request_id: string;
} & Record<string, any>

Representation of the 'Error' schema.

#### Type Declaration

- ##### code: number

  #### Example

      400

- ##### `Optional` headers?: Record<string, string>

  HTTP headers returned from the failed request attempt

- ##### `Optional` intermediate_results?: ModuleResults

- ##### location: string

  Where the error occurred

  #### Example

      "LLM Module"

- ##### message: string

  #### Example

      "Model name must be one of ['gpt-4o-mini', ...]"

- ##### request_id: string

  #### Example

      "d4a67ea1-2bf9-4df7-8105-d48203ccff76"

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/orchestration/dist/client/api/schema/error.d.ts:5