• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Device Status Awareness Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 32500001 Abnormal Service
8
9**Error Message**
10
11Service exception.
12
13**Symptom**
14
15This error code is reported if a service exception occurs when the **on** or **off** API of the deviceStatus module is called.
16
17**Possible Causes**
18
19The service status is abnormal.
20
21**Solution**
22
231. Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
242. If the operation fails for three consecutive times, stop the retry. You can also attempt to obtain the sensor list to check for device availability.
25
26## 32500002 Subscription Failed
27
28**Error Message**
29
30Subscribe Failed.
31
32**Symptom**
33
34This error code is reported if subscription fails when the **on** API of the deviceStatus module is called.
35
36**Possible Causes**
37
38Subscription to change events has failed.
39
40**Solution**
41
421. Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
432. If the operation fails for three consecutive times, stop the retry.
44
45## 32500003 Unsubscription Failed
46
47**Error Message**
48
49UnSubscribe Failed.
50
51**Symptom**
52
53This error code is reported if unsubscription fails when the **off** API of the deviceStatus module is called.
54
55**Possible Causes**
56
57Unsubscription from change events has failed.
58
59**Solution**
60
611. Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
622. If the operation fails for three consecutive times, stop the retry.
63