Stuck on creating a custom report definition via the Genesys Cloud CLI and hitting a 400 Bad Request. The error message is vague, just saying ‘Invalid request body’ without pointing to a specific field. I am trying to automate the deployment of a custom analytics report that aggregates queue wait times by skill group. The environment is AU-1 BYOC. Using Genesys Cloud CLI v2.1.0. The JSON payload looks correct based on the API documentation, but it fails every time. Here is the command and the payload structure: genesys cloud analytics report-definition create --body @report.json. The report.json file contains the standard fields: name, description, type, and the query object. The query object includes the metrics, timeGrain, and groupBy fields. I have verified that the metric IDs are valid by listing them via the CLI. The skill group IDs are also correct. I have tried removing the groupBy field, but then it fails with a different error about missing aggregation. I have also tried using the Genesys Cloud Terraform provider, but there is no resource for custom report definitions yet, so I am stuck with the CLI or direct API calls. The direct API call via curl also fails with the same 400 error. I am running this in a GitHub Actions workflow, so I need a reliable way to deploy this. I have checked the API logs, but they do not provide much detail. I have tried changing the timeGrain from ‘hour’ to ‘day’, but that did not help. I have also tried using a different metric, but the error persists. I am wondering if there is a known issue with the analytics API in the AU-1 region. Or if there is a specific format for the query object that is not documented. I have attached the full JSON payload below for reference. Any help would be appreciated. I am currently blocked on the deployment pipeline. The goal is to have this report available for all users in the org. I have checked the user permissions, and the service account has the necessary roles. I have also tried running the command locally, but it still fails. I am using the latest version of the CLI. I have cleared the cache and re-authenticated, but that did not help. I am out of ideas. What am I missing? Is there a validation step I am not aware of? Can someone provide a working example of a custom report definition JSON payload? I have looked at the examples in the documentation, but they are quite basic. My report is more complex, with multiple metrics and groupBy fields. I am hoping someone has faced this before and can share their solution. Thanks.