# Type Alias DocumentMetadataUpdateError

DocumentMetadataUpdateError: { code: number; message: string; target: string } & Record<
string,
any,
>

Representation of the 'DocumentMetadataUpdateError' schema.

#### Type Declaration

- ##### code: number

  HTTP error status code.

  #### Example

      500

- ##### message: string

  Error message.

  #### Example

      "Some unexpected error occurred."

- ##### target: string

  Document ID that caused the error.

  #### Example

      "550e8400-e29b-41d4-a716-446655440000"

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

- Defined in packages/document-grounding/dist/client/api/schema/document-metadata-update-error.d.ts:4