Description
In trying to ingest into our data lake we want to set up a pipeline to pull historical forecasts for backfilling in cases the pipeline has failed and for training purposes. Should it be possible to run something like this?
params = {'include_metadata': True
'historic': True,
'start_datetime_utc': "2024-07-01 00:00:00",
'end_datetime_utc': "2024-07-02 00:00:00"}
url = https://api.quartz.solar/v0/solar/GB/national/forecast
r = requests.get(
url=url,
headers={"Authorization": "Bearer " + access_token}, params=params
)
Running this I get a 500 status (internal server error).
The endpoint works if I set include_metadata
to False
and specify a forecast_horizon_minutes
so I have previously just iterated through forecast_horizons to backfill data for my personal consumption. However this doesn’t work with include_metadata = True
(which we would like to keep)