does anyone know why dashboard creation fails with 400 bad request on our byoc environment?
env: au-1 byoc
provider: 2.5.1
tf: 1.6.0
resource: genesyscloud_analytics_dashboard
apply fails immediately. api returns 400.
resource "genesyscloud_analytics_dashboard" "ops_metrics" {
name = "ops_metrics_dashboard"
description = "automated ops metrics"
type = "analytics"
widget {
name = "call_volume"
type = "chart"
position {
col = 0
row = 0
size_col = 6
size_row = 4
}
config = jsonencode({
report_id = genesyscloud_analytics_report.call_vol.id
})
}
}
report exists and is valid. checked via cli. report id is correct. tried removing widget config. still 400. tried different names. same error.
error log:
Error creating analytics dashboard: 400 Bad Request {"errors":[{"message":"Invalid request body","code":"bad.request"}]}
anyone seen this on byoc? seems like schema mismatch or api bug. manual creation in ui works fine. terraform fails. need to fix this for pipeline.