This object is in archive! 
API request action returns timeout error but works
Need Answer
Hi,
I am creating a Python script to use the Zipabox API (https://my.zipato.com:443/zipato-web/v2). It works and I can logon, list devices and endpoints etc. But when I try to execute an action I get a timeout error even-though the call works! The device changes status and the Zipabox web interface shows the updated value. What can be the problem?
Pyton request:
url = 'https://my.zipato.com:443/zipato-web/v2' h = {'Content-Type': 'application/json; charset=utf-8'} p = "{\"value\": \"0\"}" r = s.post(url+'/clusterEndpoints/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/actions/setValue', headers=h, data=p)
Response:
{'success': False, 'error': 'TIMEOUT', 'transactionId': 'XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'}(I have masked the GUIDs)
What can be the issue here?
br
Henrik
No connection
Real-time notifications may not work
Replies have been locked on this page!