• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Metadata Binding 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## 32100001 File Creation Failed
8**Error Message**
9Internal handling failed. File creation failed.
10
11**Symptom**
12This error code is reported if a service error occurs when a certain **metadataBinding** API called.
13
14**Possible Cause**
15The service is abnormal.
16
17**Solution**
181. Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
192. If the operation fails for three consecutive retries, return the original image.
20
21
22## 32100002 Encoding Failed
23**Error Message**
24Encoding failed. Possible causes: 1. Image processing error; 2. Channel coding error.
25
26**Symptom**
27This error code is reported if the **encodeImage** API fails because of an algorithm error.
28
29**Possible Cause**
30Algorithm execution fails because of memory allocation failures or other reasons.
31
32**Procedure**
331. Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
342. If the operation fails for three consecutive retries, return the original image.
35
36## 32100003 Decoding Failed
37**Error Code Information**
38Decoding failed. Possible causes: 1. Image not encoded; 2. Image destroyed.
39
40**Symptom**
41This error code is reported if the **decodeImage** API fails because of an algorithm error.
42
43**Possible Cause**
44Algorithm execution fails because of memory allocation failures or other reasons.
45
46**Procedure**
471. Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
482. If the operation fails for three consecutive retries, return an empty link.
49
50
51## 32100004 Subscription Failed
52**Error Code Information**
53Subscription failed. Possible causes: 1. Abnormal system capability; 2. IPC exception; 3. Algorithm loading exception.
54
55**Symptom**
56This error code is reported if subscription fails when the **on** API of the **metadataBinding** module is called.
57
58**Possible Cause**
59Subscription to change events has failed.
60
61**Procedure**
621. Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
632. If the operation fails for three consecutive times, stop the retry.
64
65## 32100005 Unsubscription Failed
66
67**Error Code Information**
68Unsubscription failed. Possible causes: 1. Abnormal system capability; 2. IPC exception.
69
70**Symptom**
71This error code is reported if unsubscription fails when the **off** API of the **metadataBinding** module is called.
72
73**Possible Cause**
74Unsubscription from change events has failed.
75
76**Solution**
771. Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
782. If the operation fails for three consecutive times, stop the retry.
79