Quality evaluation API 409 during Terraform state sync

Stuck on resolving a conflict when pushing QM evaluation definitions via HCL. The deployment pipeline fails with a 409 Conflict on the evaluation update endpoint. Running GC CLI v2.0.8 with Terraform provider 1.24.0. Environment is US-East-1.

{
 "code": "CONFLICT",
 "message": "Entity updated by another user since last retrieval",
 "details": ["version_mismatch"]
}

Force refresh or API override needed?

The official documentation states the 409 is expected during parallel state reads. Try this:

  1. Read the current entity version from the API.
  2. Pass that version in the If-Match header for the update.
  3. If it still fails, force a state refresh before applying.

This handles the version mismatch without manual overrides.