Skip to main content

aip_sdk.DuplicateTestPlanVersionError

aip_sdk.DuplicateTestPlanVersionError

A publish conflicted with the plan's current state and the platform gave no more specific reason (409).

From publish_test_plan_version, this is a version race: another edit took the version this one derived. A bare retry fails as stale once it re-checks base_version, and skipping that check would silently publish over whatever the concurrent edit changed — re-read the plan, re-apply the change, and publish again. From publish_test_plan, this shouldn't happen in practice — a create conflicts on the name, which raises TestPlanNameExistsError instead — so seeing it here likely means the platform has moved ahead of this SDK version.

Inherited members​

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

aip_sdk.DuplicateTestPlanVersionError.body​

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

aip_sdk.DuplicateTestPlanVersionError.correlation_id = current_correlation_id()

No docstring is defined in the source.

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

aip_sdk.DuplicateTestPlanVersionError.request_id​

aip_sdk.DuplicateTestPlanVersionError.request_id = current_request_id()

No docstring is defined in the source.

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

aip_sdk.DuplicateTestPlanVersionError.status_code​

aip_sdk.DuplicateTestPlanVersionError.status_code = status_code

No docstring is defined in the source.

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

aip_sdk.DuplicateTestPlanVersionError.validation_errors​

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

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