# Error callback Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/ierror_callback_type_onvalues.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/ierror_callback_type_onvalues.html) This callback is called asynchronously when there is an error in underlying modules while processing sensor data. The client must stop ongoing operations and clean up the resource and should start sensor session from the beginning. Ierror_callback_type.onValues() Copy to clipboard ## Parameters | Parameter | Data type | Description | | --- | --- | --- | | error | int | Error code. | | sensor\_session\_id | int | Sensor’s session ID. | **Parent Topic:** [Sensor callbacks](https://docs.qualcomm.com/doc/80-PK177-134/topic/sensor_callbacks.html) Last Published: Nov 14, 2024 [Previous Topic Sensor callbacks](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/sensor_callbacks.md) [Next Topic Event callbacks](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/ievent_callback_type_onvalues1.md)