- Provider: v1.68.4
- Region: au-1
- Category: Outbound Dialing
Can anyone clarify why the genesyscloud_outbound_campaign resource fails with a 400 error during apply? The HCL validates locally, but the API rejects the progression block configuration. Specifically, the call_type field seems to cause the issue when set to preview.
The error message is vague: Invalid campaign settings. The documentation suggests that preview campaigns require specific agent group assignments, but I have defined the agent_group_id correctly in the HCL.
resource "genesyscloud_outbound_campaign" "test" {
name = "Test Preview Campaign"
list_id = genesyscloud_outbound_contact_list.test.id
dial_rule = "progressive"
call_type = "preview"
agent_group_id = data.genesyscloud_routing_group.agents.id
}
The contact list and routing group exist and are valid. The deployment works fine for progressive call types, but fails consistently for preview. Is there a missing dependency or a known bug with the preview type in this provider version? The API logs show a 400 response with no detailed error payload.