From 8d9db06130d48fc21f777129acaff46d02f42215 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 26 Jan 2024 09:09:23 +0800 Subject: [PATCH] Fix/workaround '412 Precondition Failed' - https://github.com/teslamate-org/teslamate/pull/3630 Error - Tesla API said: '412 Precondition Failed' at .../Tesla/API.pm line 713. Not an ARRAY reference at .../Tesla/Vehicle.pm line 104. --- share/endpoints.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/endpoints.json b/share/endpoints.json index e6352c1..86e2493 100644 --- a/share/endpoints.json +++ b/share/endpoints.json @@ -636,7 +636,7 @@ "VEHICLE_LIST" : { "TYPE" : "GET", "AUTH" : true, - "URI" : "api/1/vehicles" + "URI" : "api/1/products" }, "ROADSIDE_WARRANTY" : { "TYPE" : "GET",