EmptyForecastRequestBody | Request body is empty or null | Provide a complete request body with type, timeframe, timePeriod, and dataset |
InvalidForecastRequestBody | Request body has invalid JSON structure | Check JSON syntax — verify braces, commas, and field names |
DontContainsDataSet | The dataset field is missing from the request body | Add the dataset object with granularity and aggregation |
DontContainsValidTimeRangeWhileContainsPeriod | timePeriod is present but from or to is invalid | Ensure both from and to are valid ISO 8601 datetime strings |
DontContainsValidTimeRangeWhileMonthlyAndIncludeCost | Monthly granularity with includeActualCost=true but missing valid timePeriod | Add explicit timePeriod with valid from and to dates |
DontContainIncludeActualCostWhileIncludeFreshPartialCost | includeFreshPartialCost=true without includeActualCost=true | Set includeActualCost=true or set includeFreshPartialCost=false |
CantForecastOnThePast | Both from and to dates are in the past | Ensure the to date is in the future |