Can’t quite understand why the AI bot resource fails during intent training data upload. The payload is valid JSON, but the API rejects it with a 400.
env: us-1 prod
provider: genesys 1.15.4
tf: 1.6.5
resource “genesyscloud_ai_bot” “main” {
name = “CX-Bot-Prod”
language = “en-US”
intent {
name = “check_balance”
training_phrases = [
“what is my balance”,
“show balance”
]
}
}
POST /api/v2/analytics/bots returns 400. Error: “training_phrases format invalid”.