added errorSensor result in API