Skip to main content

aip_sdk.MetricConfigAlreadyExistsError

aip_sdk.MetricConfigAlreadyExistsError

A config already exists at this (config_name, config_version) (409 Conflict).

Raised on create for a duplicate key. There is no soft-delete tier: a deleted config's key is immediately free to reuse, so this always means a live row occupies the key. The message names the way forward — pick a new config_version, or delete the existing config first.

Inherited members​

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.MetricConfigAlreadyExistsError.body​

aip_sdk.MetricConfigAlreadyExistsError.body: dict[str, Any] = body or {}

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.MetricConfigAlreadyExistsError.correlation_id​

aip_sdk.MetricConfigAlreadyExistsError.correlation_id = current_correlation_id()

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.MetricConfigAlreadyExistsError.request_id​

aip_sdk.MetricConfigAlreadyExistsError.request_id = current_request_id()

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.MetricConfigAlreadyExistsError.status_code​

aip_sdk.MetricConfigAlreadyExistsError.status_code = status_code

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.MetricConfigAlreadyExistsError.validation_errors​

aip_sdk.MetricConfigAlreadyExistsError.validation_errors: list[dict[str, Any]]

RFC 9457 problem+json validation_errors array, or [] when absent.