Looking for advice on a deployment failure involving genesyscloud_routing_scorecard.
Context:
- Environment: AU-1 BYOC
- Provider:
genesyscloudv1.22.0 - Pipeline: GitHub Actions
The Terraform plan succeeds. Apply fails immediately with a 422 Unprocessable Entity.
Error: 422 Unprocessable Entity
Error creating Routing Scorecard: 422 Unprocessable Entity.
Payload snippet (HCL):
resource "genesyscloud_routing_scorecard" "agent_quality" {
name = "Agent Quality Scorecard"
enabled = true
question {
id = "q1"
text = "Did the agent verify identity?"
type = "boolean"
value = 10
}
}
The resource creates manually via the UI without issue. The GC CLI also succeeds when importing the same config. This suggests a provider-level validation bug or a specific API endpoint quirk on the BYOC tenant.
Has anyone hit this specific 422 on scorecards? The documentation implies standard POST behavior, but the error payload is empty.
Logs show the request hits POST /api/v2/routing/scorecards. No additional details in the response body.
Is there a workaround or a specific attribute missing that the provider assumes but BYOC requires?