Error: 500 Internal Server Error. Message: Invalid JSON in payload. Using Genesys Cloud CLI v1.5.4 to deploy Data Action. The mapping expects a flat structure but the integration returns nested objects. Terraform module applies without error but runtime fails. Environment: EU1. Need correct syntax for flattening nested JSON in Data Action configuration.
Check your input payload structure.
The Data Action expects flat key-value pairs for direct mapping. Nested objects require explicit path references like $.root.nested.key instead of just nested.key.
This mismatch causes the 500 error during runtime validation.