Quick question about screen recording configuration via Terraform.
Terraform v1.9.8
Genesys Cloud Provider v1.65.2
Environment: Production (Sydney)
Deploying screen recording settings via genesyscloud_screen_recording fails consistently. The API returns 400 Bad Request with message Invalid JSON payload.
The config looks valid:
resource "genesyscloud_screen_recording" "main" {
enabled = true
settings {
quality = "high"
format = "mp4"
}
targets {
type = "all"
}
}
Error occurs during terraform apply. No issues with other resources like genesyscloud_routing_email_domain. API endpoint /api/v2/screen-recording rejects the payload.
Checking debug logs, the request body matches the schema. Still getting 400. Could be a provider bug or API validation issue. Any insights appreciated.