[RESOLVED] Tasker Unexpected Error 400 With Certain Plugs

I am also experiencing this Unexpected Error 400 with both the Zooz ZEN25 plugs and the Sonoff S31 plugs. Until a few dsys ago everything worked ok. The Zooz pluhs are z-wave using their own device handler. The Sonoff plugs use the eWeLink gateway.

Have you taken a look at the SmartThings IDE Live Logs when issuing the command?

This is the log for all 5 attempts from Tasker:
1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:56 PM: error physicalgraph.app.exception.SmartAppException: Unsupported command @line 267 (updateDevice)

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:56 PM: debug updateDevice, params: [appId:1795f869-3617-46a0-99c3-c2b2f2d3ca92, param1:devices, param2:a4edbf55-7685-473c-8bf9-8bf44419e025, action:[GET:executeSmartAppGet, POST:executeSmartAppPost, PUT:executeSmartAppPut, DELETE:executeSmartAppDelete, OPTIONS:executeSmartAppOptions], controller:smartAppApi, id:a4edbf55-7685-473c-8bf9-8bf44419e025], request: [command:RBr-Charger]

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:56 PM: error physicalgraph.app.exception.SmartAppException: Unsupported command @line 267 (updateDevice)

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:56 PM: debug updateDevice, params: [appId:1795f869-3617-46a0-99c3-c2b2f2d3ca92, param1:devices, param2:a4edbf55-7685-473c-8bf9-8bf44419e025, action:[GET:executeSmartAppGet, POST:executeSmartAppPost, PUT:executeSmartAppPut, DELETE:executeSmartAppDelete, OPTIONS:executeSmartAppOptions], controller:smartAppApi, id:a4edbf55-7685-473c-8bf9-8bf44419e025], request: [command:RBr-Charger]

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:55 PM: error physicalgraph.app.exception.SmartAppException: Unsupported command @line 267 (updateDevice)

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:55 PM: debug updateDevice, params: [appId:1795f869-3617-46a0-99c3-c2b2f2d3ca92, param1:devices, param2:25964c44-5c93-40e1-8b06-fdfc85abf39c, action:[GET:executeSmartAppGet, POST:executeSmartAppPost, PUT:executeSmartAppPut, DELETE:executeSmartAppDelete, OPTIONS:executeSmartAppOptions], controller:smartAppApi, id:25964c44-5c93-40e1-8b06-fdfc85abf39c], request: [command:Media-Charger]

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:55 PM: error physicalgraph.app.exception.SmartAppException: Unsupported command @line 267 (updateDevice)

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:55 PM: debug updateDevice, params: [appId:1795f869-3617-46a0-99c3-c2b2f2d3ca92, param1:devices, param2:16f41083-4e93-47b7-977f-f94617618620, action:[GET:executeSmartAppGet, POST:executeSmartAppPost, PUT:executeSmartAppPut, DELETE:executeSmartAppDelete, OPTIONS:executeSmartAppOptions], controller:smartAppApi, id:16f41083-4e93-47b7-977f-f94617618620], request: [command:Kitchen plug]

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:54 PM: error physicalgraph.app.exception.SmartAppException: Unsupported command @line 267 (updateDevice)

1795f869-3617-46a0-99c3-c2b2f2d3ca92 4:55:54 PM: debug updateDevice, params: [appId:1795f869-3617-46a0-99c3-c2b2f2d3ca92, param1:devices, param2:5c637131-2831-42b0-bc55-b8210a50ee25, action:[GET:executeSmartAppGet, POST:executeSmartAppPost, PUT:executeSmartAppPut, DELETE:executeSmartAppDelete, OPTIONS:executeSmartAppOptions], controller:smartAppApi, id:5c637131-2831-42b0-bc55-b8210a50ee25], request: [command:Bedroom plug]

Looks like invalid or unsupported commands are being sent. I would need to see the Tasker profiles to be able to help debug further. Are you perhaps using Tasker variables? If so, I would double check the flow related to variables. It looks like device names are being sent where commands are supposed to be.

Found a typo in my task. Now everything works.

1 Like