I am trying to retrieve and parse xml data from the following URL using
=IMPORTXML("https://monitoringapi.solaredge.com/site/894123/sensors?startDate=2020-10-01%2000:00:00&endDate=2020-10-06%2000:00:00&api_key=MGTH4B2W39EJ8O433GSMRNQHRY0WKF9C";"/siteSensors/data/telemetries/sensorsTelemetry")
or
=IMPORTXML("https://monitoringapi.solaredge.com/site/894123/sensors?startDate=2020-10-01%2000:00:00&endDate=2020-10-06%2000:00:00&api_key=MGTH4B2W39EJ8O433GSMRNQHRY0WKF9C","//date | //globalHorizontalIrradiance")
I keep on getting the error message 'Imported XML content cannot be parsed'.
I've checked the xpath in an online xpath tester and it returns data fine.
When i put the URL in a browser window I do indeed receive the XML (which curiously has a script element at the end....)
All help most gratefully appreciated,
Best regards /Colm