Error: Error creating Quality Evaluation Form: POST /api/v2/wfm/quality/evaluationforms: 409 Conflict
Response body: {“errors”:[{“code”:“CONFLICT”,“message”:“A resource with this identifier already exists.”}]"}
Running terraform apply with provider version 1.12.0. The deployment script creates a new WFM quality evaluation form. The ID is generated dynamically using uuidgen in a local-exec provisioner to avoid collisions. The form name is unique in the target environment (US East).
The pipeline runs via GitHub Actions. No manual changes are made to the form during the CI/CD window. The error happens consistently on the second run of the same commit if the first run failed partially. It seems like the API holds a lock or the ID generation is not unique enough for the Genesys backend.
Checking the API docs, the endpoint expects a unique ID. My HCL uses the standard genesyscloud_quality_evaluation_form resource. I have added a random_id data source to force unique IDs, but the 409 persists.
Is this a known issue with the provider handling concurrent writes? Or is there a specific wait mechanism needed before creating the form after the ID is generated? The logs show the ID is passed correctly to the POST request.