Can anyone explain why the data action creation is failing with a 400 Bad Request on our BYOC environment?
We are trying to automate the deployment of a custom REST data action using Terraform. The plan phase completes without errors, but apply fails immediately.
Environment details:
- Region: AU-1 BYOC
- Provider: genesyscloud 2.5.1
- Terraform: 1.6.0
- Resource: genesyscloud_data_action
The error message in the CLI output is vague:
Error: failed to create data action: 400 Bad Request
{}
The HCL configuration is standard. We are pointing to an internal endpoint that works fine via Postman. The JSON body for the request mapping is valid. We have verified the OAuth credentials are correct and have the necessary scopes.
Is there a specific format requirement for the request_method or body fields on BYOC instances? The standard US-1 docs do not mention any differences for AU-1.
We need this for our analytics reporting pipeline. Any insights on debugging the 400 response would be appreciated. We can provide the full HCL block if needed.