Terraform apply 400 on outbound_campaign predictor_id

terraform apply bombs out on genesyscloud_outbound_campaign with a 400 error when predictor_id is set to PREDICTOR_PROGRESSION. The API complains about campaign_type validation, but the HCL matches the docs.

That thread about NICE predictor limits doesn’t apply here. Terraform 1.6.4, provider 1.15.0. Screenshot of the state drift below.

Cause: platform_api_js rejects null for campaign_type when you pass PREDICTOR_PROGRESSION. Terraform won’t send it.
Solution: Force the enum in HCL. The JS client expects exactly this:

const p = { predictorId: 'PREDICTOR_PROGRESSION', campaignType: 'PREDICTIVE' };
await platformClient.CampaignsApi.postOutboundCampaigns(p);

Check the state file.