• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Ringtone 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## 20700001
8
9**Error Message**
10
11Tone type mismatch.
12
13**Description**
14
15This error code is reported if the tone type passed in the API does not match the expected type.
16
17**Possible Causes**
18
19Incorrect input parameter, such as providing a tone path for an alarm instead of a notification tone.
20
21**Solution**
22
23Pass the correct tone path in the API.
24
25## 20700002 Parameter Check Failed
26
27**Error Message**
28
29Parameter check error.
30
31**Description**
32
33This error code is reported if a certain parameter passed in the API is invalid.
34
35**Possible Causes**
36
37The parameter is invalid. For example, the parameter value is not within the range supported.
38
39**Solution**
40
41Pass the correct parameters in the API.
42
43## 20700003 Operation Not Supported
44
45**Error Message**
46
47Unsupported operation.
48
49**Description**
50
51This error code is reported if the current operation is not supported when the API is called.
52
53**Possible Causes**
54
55The device does not support the capability, such as lacking vibration support.
56
57**Solution**
58
59Call the API based on the device capability.
60
61## 20700004 Data Size Exceeds the Upper Limit
62
63**Error Message**
64
65Data size exceeds the limit.
66
67**Description**
68
69This error code is reported if the data size exceeds the upper limit.
70
71**Possible Causes**
72
73The size of the custom video tone file is too large.
74
75**Solution**
76
77Verify the file size and ensure that the file size does not exceed the upper limit.
78
79## 20700005 File Count Exceeds the Upper Limit
80
81**Error Message**
82
83The number of files exceeds the limit.
84
85**Description**
86
87This error code is reported if the number of files exceeds the upper limit.
88
89**Possible Causes**
90
91Too many custom video tone files are added.
92
93**Solution**
94
95Ask the user to delete some existing video tones before adding new custom tones.
96
97## 20700006 Insufficient ROM Space
98
99**Error Message**
100
101Insufficient ROM space.
102
103**Description**
104
105This error code is reported if the available ROM storage space is insufficient.
106
107**Possible Causes**
108
109The ROM space of the user is insufficient.
110
111**Solution**
112
113Ask the user to delete other data before using the feature.
114
115## 20700007 Invalid Parameter
116
117**Error Message**
118
119Invalid parameter.
120
121**Description**
122
123This error code is reported if an input parameter is invalid.
124
125**Possible Causes**
126
127The input parameter to the function is invalid, such as being too long.
128
129**Solution**
130
131Verify the input parameters before calling the function.
132