Fetching from URL: https://services.e-st.lv/m2m/get-object-consumption?dF=2024-10-16T00%3A00%3A00&dT=2024-10-17T00%3A00%3A00
Using API Key: cac82...

( ! ) Warning: file_get_contents(https://services.e-st.lv/m2m/get-object-consumption?dF=2024-10-16T00%3A00%3A00&dT=2024-10-17T00%3A00%3A00): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in C:\WebServers\Home\nordpool\www\get_household_consumption.php on line 27
Call Stack
#TimeMemoryFunctionLocation
10.0263386248{main}( )...\get_nordpool.php:0
22.1338570304require_once( 'C:\WebServers\Home\nordpool\www\get_household_consumption.php )...\get_nordpool.php:4
32.1338570304fetch_household_consumption( $startDate = '2024-10-16T00:00:00', $endDate = '2024-10-17T00:00:00' )...\get_household_consumption.php:89
42.1339572264file_get_contents( $filename = 'https://services.e-st.lv/m2m/get-object-consumption?dF=2024-10-16T00%3A00%3A00&dT=2024-10-17T00%3A00%3A00', $flags = FALSE, $context = resource(13) of type (stream-context) )...\get_household_consumption.php:27
Error occurred while fetching data from API.