Data Action 400 Error on Custom Integration Schema

  • Genesys Cloud 2024-10
  • Terraform Provider 1.12.0
  • Custom Integration: Salesforce CPQ

Can anyone clarify the strict JSON payload requirements for the data_action_input? The deployment fails with 400 Bad Request: Invalid field mapping despite the HCL schema matching the API docs. The error only appears during the genesyscloud_data_action resource creation, not in the preview.

Make sure you check the input schema validation in Postman before pushing to Terraform.

The 400 error often comes from strict type mismatches.

A string field sent as an integer will fail silently in preview but crash on creation.

Verify your JSON payload structure manually.