• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Pasteboard Error Codes
2<!--Kit: Basic Services Kit-->
3<!--Subsystem: MiscServices-->
4<!--Owner: @yangxiaodong41-->
5<!--Designer: @guo867-->
6<!--Tester: @maxiaorong2-->
7<!--Adviser: @HelloCrease-->
8
9> **NOTE**
10>
11> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
12
13## 12900001 Index Out of Range
14
15**Error Message**
16
17The index is out of range.
18
19**Description**
20
21This error code is reported when the index passed in to the called API, such as **getRecord**, is out of range.
22
23**Possible Causes**
24
25The index passed in the API is beyond the record index range of the **PasteData** object. For example, the index passed in to **getRecord** exceeds the number of records.
26
27**Solution**
28
29Check the index range and call the API again with a valid index.
30
31## 12900002 Maximum Number of Records Reached
32
33**Error Message**
34
35The number of records exceeds the upper limit.
36
37**Description**
38
39This error code is reported when no new **PasteData** record can be added.
40
41**Possible Causes**
42
43The number of **PasteData** records has reached the maximum.
44
45**Solution**
46
471. Check whether the number of **PasteData** records has reached the maximum.
482. If the number of **PasteData** records has reached the maximum, delete some records before adding new ones.
49
50## 12900003 Another Copy or Paste Operation in Progress
51
52Similar to the error code [27787277](#27787277-another-copy-or-paste-operation-in-progress).
53
54**Error Message**
55
56Another copy or paste operation is in progress.
57
58**Description**
59
60This error code is reported when a new copy or paste attempt is made before the previous one is completed.
61
62**Possible Causes**
63
64The copy and paste APIs are both asynchronous APIs. If the data to be copied or pasted is in large amount, the time required may be long. New copy or paste operations can be performed only after the previous operations have been completed.
65
66**Solution**
67
681. Before you copy or paste data, check the status of the last copy or paste operation.
692. Wait until the last copy or paste operation has finished, and then copy or paste data again.
70
71## 12900004 Copy Prohibited
72
73Similar to the error code [27787278](#27787278-copy-prohibited).
74
75**Error Message**
76
77Replication is prohibited.
78
79**Description**
80
81This error code is reported when an attempt is made to copy data that cannot be copied.
82
83**Possible Causes**
84
85The data is read-only and cannot be copied.
86
87**Solution**
88
891. Make sure the target data allows the copy action.
902. Make sure you only copy data that allows for copy.
91
92## 12900005 Request Timeout
93
94**Error Message**
95
96Excessive processing time for internal data.
97
98**Description**
99
100This error code is reported when the time spent in internal data processing exceeds the timeout.
101
102**Possible Causes**
103
104The data to be processed is large and consumes too much time.
105
106**Solution**
107
108If the data to be processed is too large, consider using an asynchronous API.
109
110## 12900006 Settings Already Exists
111
112**Error Message**
113
114Settings already exist.
115
116**Description**
117
118This error code is reported when the global pasteable range of the application to be set already exists.
119
120**Possible Causes**
121
122The global pasteable scope of the application already exists.
123
124**Solution**
125
126Delete the existing settings and then set the new one.
127
128## 12900007 File Copying Failure
129
130**Error Message**
131
132Invalid destUri or file system error.
133
134**Description**
135
136This error code is reported when a file fails to be copied.
137
138**Possible Causes**
139
140The file fails to be downloaded and copied.
141
142**Solution**
143
1441. Before copying related data, check whether the destination path is valid.
1452. If the destination path is invalid, confirm the correct path.
146
147## 12900008 Progress Startup Failure
148
149**Error Message**
150
151Failed to start progress.
152
153**Description**
154
155This error code is reported when the progress fails to be created using the default progress indicator.
156
157**Possible Causes**
158
159The system thread is abnormal.
160
161**Solution**
162
163Check whether the pasting is successful. If yes, ignore this error; otherwise, contact technical support.
164
165## 12900009 Progress Reporting Exception
166
167**Error Message**
168
169Progress exits abnormally.
170
171**Description**
172
173 This error code is reported when the progress reporting on default progress indicator is abnormal.
174
175**Possible Causes**
176
177The progress is displayed abnormally.
178
179**Solution**
180
181Check whether the pasting is successful. If so, ignore this error; otherwise, contact technical support.
182
183## 12900010 Data Obtaining Failure
184
185**Error Message**
186
187System error occurred during paste execution.
188
189**Description**
190
191This error code is reported when the data to be pasted fails to be obtained.
192
193**Possible Causes**
194
195The data to be pasted fails to be obtained.
196
197**Solution**
198
199Contact technical support.
200
201## 27787277 Another Copy or Paste Operation in Progress
202
203Similar to the error code [12900003](#12900003-another-copy-or-paste-operation-in-progress).
204
205**Error Message**
206
207Another copy or paste operation is in progress.
208
209**Description**
210
211This error code is reported when a new copy or paste attempt is made before the previous one is completed.
212
213**Possible Causes**
214
215The copy and paste APIs are both asynchronous APIs. If the data to be copied or pasted is in large amount, the time required may be long. New copy or paste operations can be performed only after the previous operations have been completed.
216
217**Solution**
218
2191. Before you copy or paste data, check the status of the last copy or paste operation.
2202. Wait until the last copy or paste operation has finished, and then copy or paste data again.
221
222## 27787278 Copy Prohibited
223
224Similar to the error code [12900004](#12900004-copy-prohibited).
225
226**Error Message**
227
228Replication is prohibited.
229
230**Description**
231
232This error code is reported when an attempt is made to copy data that cannot be copied.
233
234**Possible Causes**
235
236The data is read-only and cannot be copied.
237
238**Solution**
239
2401. Make sure the target data allows the copy action.
2412. Make sure you only copy data that allows for copy.
242