-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid EmissionsForecast #18
Comments
Hello! No you shouldn't get that! Can you check the Data part of the exception? You should see more details there! |
Hi George, I haven't run the sample, but I did test the method IsOptimalWindowNowAsync with the same inputs and I get a response. I used the same appsettings as in the sample, and I did not create an environment variable for the region (I set it as an input from the payload). The Data part of the exception from WestUS has the following message:
I've also noticed that if I put another Azure region, such as NorthCentralUS or UAENorth, I get a 403 or 404 error. |
Hi George, Any update on this ticket? |
Hi George. Any update here? |
Hello,
I'm running the GetForecastAsync() method and getting the following error
"Invalid EmissionsForecast"
I use the following data as inputs
{ "region": "WestUS", "processDurationInMinutes": 5, "processTimeFrameInHours": 8 }
var optimalTime = await _greenHopperService.GetForecastDataAsync(region, DateTimeOffset.UtcNow.AddDays(1), processTimeFrameInHours, processDurationInMinutes);
Wanted to check if this is expected.
The text was updated successfully, but these errors were encountered: