Hi,
I'm getting this error when running this code in Powershell
$Giv_En = Invoke-RestMethod -Method 'Get' -Uri https://api.givenergy.cloud/inverter/v1/$SerialNum/system-data/latest/ -Headers $headers_Giv_En
_Invoke-RestMethod : The remote server returned an error: (404) Not Found.
At line:1 char:12
$Giv_En = Invoke-RestMethod -Method 'Get' -Uri https://api.givenergy ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand_
--------------I've generated a new token, and tried the URL without /v1/.
Thanks in advance.
