1e41f4b71Sopenharmony_ci# Pasteboard Error Codes 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci> **NOTE** 4e41f4b71Sopenharmony_ci> 5e41f4b71Sopenharmony_ci> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md). 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci## 12900001 Index Out of Range 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci**Error Message** 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciThe index is out of range. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**Description** 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ciThis error code is reported when the index passed in to the called API, such as **getRecord**, is out of range. 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci**Possible Causes** 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ciThe 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. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**Solution** 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ciCheck the index range and call the API again with a valid index. 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci## 12900002 Maximum Number of Records Reached 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**Error Message** 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ciThe number of records exceeds the upper limit. 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci**Description** 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ciThis error code is reported when no new **PasteData** record can be added. 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ci**Possible Causes** 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ciThe number of **PasteData** records has reached the maximum. 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci**Solution** 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ci1. Check whether the number of **PasteData** records has reached the maximum. 42e41f4b71Sopenharmony_ci2. If the number of **PasteData** records has reached the maximum, delete some records before adding new ones. 43e41f4b71Sopenharmony_ci 44e41f4b71Sopenharmony_ci## 12900003 Another Copy or Paste Operation in Progress 45e41f4b71Sopenharmony_ci 46e41f4b71Sopenharmony_ci**Error Message** 47e41f4b71Sopenharmony_ci 48e41f4b71Sopenharmony_ciAnother copy or paste operation is in progress. 49e41f4b71Sopenharmony_ci 50e41f4b71Sopenharmony_ci**Description** 51e41f4b71Sopenharmony_ci 52e41f4b71Sopenharmony_ciThis error code is reported when a new copy or paste attempt is made before the previous one is completed. 53e41f4b71Sopenharmony_ci 54e41f4b71Sopenharmony_ci**Possible Causes** 55e41f4b71Sopenharmony_ci 56e41f4b71Sopenharmony_ciThe 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. 57e41f4b71Sopenharmony_ci 58e41f4b71Sopenharmony_ci**Solution** 59e41f4b71Sopenharmony_ci 60e41f4b71Sopenharmony_ci1. Before you copy or paste data, check the status of the last copy or paste operation. 61e41f4b71Sopenharmony_ci2. Wait until the last copy or paste operation has finished, and then copy or paste data again. 62e41f4b71Sopenharmony_ci 63e41f4b71Sopenharmony_ci## 12900004 Copy Prohibited 64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ci**Error Message** 66e41f4b71Sopenharmony_ci 67e41f4b71Sopenharmony_ciReplication is prohibited. 68e41f4b71Sopenharmony_ci 69e41f4b71Sopenharmony_ci**Description** 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ciThis error code is reported when an attempt is made to copy data that cannot be copied. 72e41f4b71Sopenharmony_ci 73e41f4b71Sopenharmony_ci**Possible Causes** 74e41f4b71Sopenharmony_ci 75e41f4b71Sopenharmony_ciThe data is read-only and cannot be copied. 76e41f4b71Sopenharmony_ci 77e41f4b71Sopenharmony_ci**Solution** 78e41f4b71Sopenharmony_ci 79e41f4b71Sopenharmony_ci1. Make sure the target data allows the copy action. 80e41f4b71Sopenharmony_ci2. Make sure you only copy data that allows for copy. 81e41f4b71Sopenharmony_ci 82e41f4b71Sopenharmony_ci## 12900005 Request Timeout 83e41f4b71Sopenharmony_ci 84e41f4b71Sopenharmony_ci**Error Message** 85e41f4b71Sopenharmony_ci 86e41f4b71Sopenharmony_ciRequest timed out. 87e41f4b71Sopenharmony_ci 88e41f4b71Sopenharmony_ci**Description** 89e41f4b71Sopenharmony_ci 90e41f4b71Sopenharmony_ciThis error code is reported when the time spent in internal data processing exceeds the timeout. 91e41f4b71Sopenharmony_ci 92e41f4b71Sopenharmony_ci**Possible Causes** 93e41f4b71Sopenharmony_ci 94e41f4b71Sopenharmony_ciThe data to be processed is large and consumes too much time. 95e41f4b71Sopenharmony_ci 96e41f4b71Sopenharmony_ci**Solution** 97e41f4b71Sopenharmony_ci 98e41f4b71Sopenharmony_ciIf the data to be processed is too large, consider using an asynchronous API. 99e41f4b71Sopenharmony_ci 100e41f4b71Sopenharmony_ci## 12900006 Settings Already Exists 101e41f4b71Sopenharmony_ci 102e41f4b71Sopenharmony_ci**Error Message** 103e41f4b71Sopenharmony_ci 104e41f4b71Sopenharmony_ciSettings already exist. 105e41f4b71Sopenharmony_ci 106e41f4b71Sopenharmony_ci**Description** 107e41f4b71Sopenharmony_ci 108e41f4b71Sopenharmony_ciThis error code is reported when the global pasteable range of the application to be set already exists. 109e41f4b71Sopenharmony_ci 110e41f4b71Sopenharmony_ci**Possible Causes** 111e41f4b71Sopenharmony_ci 112e41f4b71Sopenharmony_ciThe global pasteable scope of the application already exists. 113e41f4b71Sopenharmony_ci 114e41f4b71Sopenharmony_ci**Solution** 115e41f4b71Sopenharmony_ci 116e41f4b71Sopenharmony_ciDelete the existing settings and then set the new one. 117