# Type Alias MetaApiError

MetaApiError: {
code: string;
details?: Record<string, any>;
message: string;
requestId?: string;
target?: string;
} & Record<string, any>

Representation of the 'MetaApiError' schema.

#### Type Declaration

- ##### code: string

  Descriptive error code (not http status code)

- ##### `Optional` details?: Record<string, any>

  Optional details of the error message

- ##### message: string

  Plaintext error description

- ##### `Optional` requestId?: string

  ID of the individual request

- ##### `Optional` target?: string

  Invoked URL

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

- Defined in packages/ai-api/dist/client/AI_CORE_API/schema/meta-api-error.d.ts:4