Genesyscloud_analytics_export_config 500 Internal Server Error on Dashboard Reference

Context:
Attempting to automate dashboard export configurations via Terraform provider v1.12.0. The goal is to schedule CSV exports for a custom dashboard created via genesyscloud_dashboard. The environment is Genesys Cloud EU-West.

Running terraform apply triggers a 500 Internal Server Error on the genesyscloud_analytics_export_config resource. The error payload from the CLI is minimal:

Error: API returned 500 Internal Server Error
│
│ with genesyscloud_analytics_export_config.daily_report,
│ on main.tf line 45, in resource "genesyscloud_analytics_export_config" "daily_report":
│ 45: resource "genesyscloud_analytics_export_config" "daily_report" {

Debug logs show the API call to POST /api/v2/analytics/export-configs fails when the dashboardId is referenced. If I remove the dashboard reference and use a simple query, the config deploys successfully. This suggests a backend issue with linking export configs to complex dashboard definitions via the API.

Question:
Does anyone know if there is a known limitation with exporting dashboard-based analytics via the Terraform provider? The UI allows this association without issues. Is there a specific type or queryType parameter required in the HCL that is not documented? I am currently blocked on automating our nightly reporting pipeline.

Verify the dashboard_id matches the internal UUID, not the external reference name. The API often rejects references that do not resolve to a published dashboard version. Ensure the dashboard is fully published before linking the export config.

  • Dashboard publish status
  • Export config resource syntax
  • Terraform provider version compatibility

Have you verified the dashboard is fully published before linking the export config?

Requirement Status
Dashboard Publish Required
ID Format Internal UUID