Could someone explain the 500 Internal Server Error when updating genesyscloud_routing_messageflow for IVR channels via Terraform?
resource "genesyscloud_routing_messageflow" "ivr_msg" {
name = "IVR Messaging"
description = "Auto-provisioned"
type = "INBOUND"
channels = ["IVR"]
}
Provider v1.32.0. GC CLI confirms the flow exists. Terraform apply fails with Error updating Message Flow: 500 Server Error. Happens only in Sydney region prod.
Thanks.
I’d recommend looking at at the channel configuration constraints. The platform enforces strict validation on message flow types.
- Ensure the flow is not already active in production.
- Verify no other resource references this flow ID.
- Check for conflicting channel assignments in the UI.
This often resolves the 500 error.
Depends on your setup, but generally the 500 stems from channel validation logic failing silently. The suggestion above covers basics, but check if IVR is explicitly supported for that flow type in your org. Sometimes the API rejects mixed channel types. Verify the payload via Postman first.
Generally speaking, the 500 stems from channel validation logic failing silently. the suggestion above covers basics, but check if ivr is explicitly supported for that flow type in your org. sometimes the api rejects mixed channel types. verify the payload via postman first.