Skip to main content

aip_sdk.MetricConfigOverrideConflictError

aip_sdk.MetricConfigOverrideConflictError

A workspace metric config override could not be assigned a next version (409 Conflict).

Raised by MetricConfig.override() / override_metric_config() when concurrent overrides of the same config name kept colliding on the same next version, or when config_name is already bound to a different metric in this workspace. Retrying the call is reasonable for the former; the latter needs a different config_name — check retryable rather than parsing the message to tell the two apart.

aip_sdk.MetricConfigOverrideConflictError.retryable​

aip_sdk.MetricConfigOverrideConflictError.retryable: bool

True for a version race the retry budget could not resolve (retry is reasonable); False for a binding conflict, which will not change on retry.

Read from the server's structured error_code rather than the message text — the message is for humans and can be reworded without notice.

Inherited members​

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

aip_sdk.MetricConfigOverrideConflictError.body​

aip_sdk.MetricConfigOverrideConflictError.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.MetricConfigOverrideConflictError.correlation_id​

aip_sdk.MetricConfigOverrideConflictError.correlation_id = current_correlation_id()

No docstring is defined in the source.

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

aip_sdk.MetricConfigOverrideConflictError.request_id​

aip_sdk.MetricConfigOverrideConflictError.request_id = current_request_id()

No docstring is defined in the source.

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

aip_sdk.MetricConfigOverrideConflictError.status_code​

aip_sdk.MetricConfigOverrideConflictError.status_code = status_code

No docstring is defined in the source.

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

aip_sdk.MetricConfigOverrideConflictError.validation_errors​

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

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