I'm getting an error while using the GoSungrow api get WebAppService.showPSView '{"ps_id":"xxxxxxx"}' command. The error message displayed is:
ERROR: invalid character 'p' looking for beginning of object key string
This error occurs whenever I attempt to use any API commands.
Steps to Reproduce:
Login using the command GoSungrow api login
Run the command GoSungrow api get WebAppService.showPSView '{"ps_id":"xxxxxxx"}'.
Expected Behavior:
I expected the GoSungrow application to execute the API command (get WebAppService.showPSView) and display the current power stats associated with the provided ps_id.
Actual Behavior:
Instead of executing the command successfully, the application throws an error with the following message:
ERROR: invalid character 'p' looking for beginning of object key string
Additional Information:
The JSON request for the API command is: {"ps_id":0} even though the input was not 0
The error suggests an issue with the parsing of the JSON request or response.
This error also occurs when using any other API command
Issue Description:
I'm getting an error while using the
GoSungrow api get WebAppService.showPSView '{"ps_id":"xxxxxxx"}'
command. The error message displayed is:This error occurs whenever I attempt to use any API commands.
Steps to Reproduce:
Login using the command GoSungrow api login
Run the command GoSungrow api get WebAppService.showPSView '{"ps_id":"xxxxxxx"}'.
Expected Behavior:
I expected the GoSungrow application to execute the API command (get WebAppService.showPSView) and display the current power stats associated with the provided ps_id.
Actual Behavior:
Instead of executing the command successfully, the application throws an error with the following message:
ERROR: invalid character 'p' looking for beginning of object key string
Additional Information:
{"ps_id":0}
even though the input was not 0Environment:
Windows 11
3.0.4 precompiled
Reproducibility:
Always