Hey everyone, I’ve run into a really strange issue with WebRTC softphone configuration during automated state promotion. Environment is Genesys Cloud Sydney region. Using Terraform provider v1.18.0 and GC CLI v2.0.4. The deployment pipeline (GitHub Actions) fails at the genesyscloud_telephony_providers_edges_user_settings resource block. Specifically, the webrtc nested block throws a 422 Unprocessable Entity error when attempting to enable the softphone for a specific user group.
The HCL configuration looks standard:
resource "genesyscloud_telephony_providers_edges_user_settings" "webrtc_enable" {
user_id = var.user_id
webrtc {
enabled = true
}
}
The API response payload indicates:
“The request was well-formed but was unable to be followed due to semantic errors. Field ‘webrtc.enabled’ conflicts with current telephony provider status.”
Verified that the underlying telephony provider is active and the user has the correct Telephony role assigned. Manual enablement via the Genesys Cloud UI works without issue. This suggests a race condition or a validation mismatch in the Terraform provider’s API call sequence. The provider seems to be checking provider status before the user setting update completes, or perhaps it’s rejecting the boolean toggle because the user already has a default phone line assigned via a different edge provider.
Checked the provider changelog for v1.18.0 but no mentions of WebRTC specific fixes. Has anyone seen this 422 error specifically on the webrtc.enabled field? Looking for a workaround to force the update or a specific sequence of API calls that bypasses this validation. Need this fixed before the next sprint deployment.