CX as Code - Web Deployment Update Failure

The Terraform apply is failing with a 400 Bad Request during the promotion of web settings. It’s not clear why the state is inconsistent.

resource "genesyscloud_web_deployment" "prod_deployment" {
 name = "Customer_Portal_Prod"
 deployment {
 # configuration details
 }
}

Attempted a manual update via PUT /api/v2/webdeployments/deployments/{deploymentId} but the response is just a generic error.

{
 "error": "400",
 "message": "Bad Request",
 "details": [

Sorry if this is a newbie question, but does the 400 happen immediately? Ran a methodical test on /api/v2/webdeployments/deployments/{deploymentId} and it feels like a sustained rate limit issue rather than a config error. Is the Terraform provider hitting the endpoint too fast?

1 Like