smartgic/skill-sonos-controller

UPnP Error 701 received: Transition not available

goldyfruit opened this issue · 1 comments

When using pause music and stop music intents, the request to Sonos speakers fails with a 500 error code.

2021-04-06 17:52:18.490 | DEBUG    |     1 | soco.services | Received {'CONTENT-LENGTH': '347', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/62.1-86220 (ZPS9)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>701</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2021-04-06 17:52:18.490 | INFO     |     1 | soco.services | Received status 500 from 192.168.1.71
2021-04-06 17:52:18.491 | DEBUG    |     1 | soco.services | Error b'<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>701</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>'
2021-04-06 17:52:18.491 | ERROR    |     1 | SonosController | UPnP Error 701 received: Transition not available from 192.168.1.71

But when adding the speaker to the intent, the error doesn't appear, e.g: stop music on dining room

Fixed