Could someone clarify why the predictive routing queue configuration fails during apply?
Using Terraform provider v1.65.2. Region: Australia/Sydney.
Deploying a new queue with predictive routing enabled. The HCL validates, but the API returns 400.
Resource:
resource "genesyscloud_routing_queue" "test_q" {
name = "Test Pred Queue"
enabled = true
routing_type = "Predictive"
predictive_routing {
max_contacts = 10
max_contacts_per_agent = 2
max_queue_seconds = 300
}
}
Error output:
Error: Error creating Routing Queue: 400 Bad Request
{ “errors”: [ { “code”: “INVALID_INPUT”, “message”: “Predictive routing settings are invalid for this queue type or region.” } ] }
The queue is standard. No custom attributes.
Checked GC CLI docs. Predictive is supported in au-1.
Is there a missing dependency? Or a specific API version issue with the provider?
Logs show the POST to /api/v2/routing/queues fails immediately. Payload looks correct per schema.
Any insight appreciated.