Green-Software-Foundation/carbon-aware-sdk

[Bug]: ElectricityMaps emissions-forecasts will return server error 500

Closed this issue · 0 comments

Contact Details

xcbinder@outlook.de

What happened?

ElectricityMaps forecast scenario will return server error 500.
Repro using CLI: "emissions-forecasts -l westeurope -v"

public async Task GetCurrentCarbonIntensityForecastAsync(Location location) is causing the EM server to return 500. Reason is that the "." in geolocation.Latitude will be passed as ","

Fix is available

Regards
Christian Binder (MSFT)

client

CLI

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct