# - [smarthome](https://developers.home.google.com/reference/local-home/modules/smarthome.html).
- [DataFlow](https://developers.home.google.com/reference/local-home/modules/smarthome.dataflow.html).
- CommandFailure

deprecated

:   See [HandlerError](https://developers.home.google.com/reference/local-home/classes/smarthome.intentflow.handlererror.html) for handling command failures.

Response to a [DeviceManager](https://developers.home.google.com/reference/local-home/interfaces/smarthome.devicemanager) command that resulted
in an error.

## Index

### Properties

- [debugString](https://developers.home.google.com/reference/local-home/interfaces/smarthome.dataflow.commandfailure#debugstring)
- [deviceId](https://developers.home.google.com/reference/local-home/interfaces/smarthome.dataflow.commandfailure#deviceid)
- [errorCode](https://developers.home.google.com/reference/local-home/interfaces/smarthome.dataflow.commandfailure#errorcode)
- [protocol](https://developers.home.google.com/reference/local-home/interfaces/smarthome.dataflow.commandfailure#protocol)
- [requestId](https://developers.home.google.com/reference/local-home/interfaces/smarthome.dataflow.commandfailure#requestid)

## Properties

### Optional debugString

debugString: undefined \| string Human readable description of this error

### deviceId

deviceId: string Inherited from [BleRequestData](https://developers.home.google.com/reference/local-home/classes/smarthome.dataflow.blerequestdata.html).[deviceId](https://developers.home.google.com/reference/local-home/classes/smarthome.dataflow.blerequestdata.html#deviceid)
Device ID of the target device.

### errorCode

errorCode: string The cause for this error

### protocol

protocol: [Protocol](https://developers.home.google.com/reference/local-home/enums/smarthome.constants.protocol.html) Inherited from [BleRequestData](https://developers.home.google.com/reference/local-home/classes/smarthome.dataflow.blerequestdata.html).[protocol](https://developers.home.google.com/reference/local-home/classes/smarthome.dataflow.blerequestdata.html#protocol)
Protocol to use when sending this command

### requestId

requestId: string Inherited from [BleRequestData](https://developers.home.google.com/reference/local-home/classes/smarthome.dataflow.blerequestdata.html).[requestId](https://developers.home.google.com/reference/local-home/classes/smarthome.dataflow.blerequestdata.html#requestid)
Request ID from the associated `EXECUTE` intent.