The call against the products endpoint gives mixed responses if non-energy products like vehicles are present in the same account as e.g. a powerwall. The unmarshalling of the response fails on this response, as the product.id field varies between numeric (for vehicles) and string (for energy products).
The call against the products endpoint gives mixed responses if non-energy products like vehicles are present in the same account as e.g. a powerwall. The unmarshalling of the response fails on this response, as the product.id field varies between numeric (for vehicles) and string (for energy products).