=== Manual Database Test === Test data to send: Array ( [device_id] => TEST_ESP32_1772425888 [total_cycles] => 5 [waste_bags_saved] => 17.5 [co2_emissions_diverted] => 11.57 [last_emptied_time] => 1772425888000 [month_start_time] => 1772425888000 [data_version] => 2 [checksum] => 12345 ) JSON payload: {"device_id":"TEST_ESP32_1772425888","total_cycles":5,"waste_bags_saved":17.5,"co2_emissions_diverted":11.57000000000000028421709430404007434844970703125,"last_emptied_time":1772425888000,"month_start_time":1772425888000,"data_version":2,"checksum":12345} === Response === HTTP Code: 401 Response: {"error":"Unauthorized \u2013 invalid or missing API key"} ✗ FAILED! Check the error above Test records in database: 0 === Test Complete ===