SmartHome UI - ERROR "Unable to update data"
Posted: 30 Aug 2020 16:52
Happens when I am trying to save from Elements -> Configuration View of device -> "Save" button.
Interesting that changes to the device got saved but just at last moment this error dialog pops-up with "Unable to update data" message.
I have looked into source code but there are so many places where this dialog is called... I'm at lost where to look and how to fix it.
If this could help, after pressing "Save" button I see some commands goes from UI to ZWay server in web console, and one of them is failed with 404 - not found.
It's a POST to http://zwayIP:8083/ZAutomation/api/v1/instances.
But couple lines before the same request with GET was done fine with status code 200.
Interesting that changes to the device got saved but just at last moment this error dialog pops-up with "Unable to update data" message.
I have looked into source code but there are so many places where this dialog is called... I'm at lost where to look and how to fix it.
If this could help, after pressing "Save" button I see some commands goes from UI to ZWay server in web console, and one of them is failed with 404 - not found.
It's a POST to http://zwayIP:8083/ZAutomation/api/v1/instances.
But couple lines before the same request with GET was done fine with status code 200.