Error codes
Most errors in Rainbow-API include an error code and a brief explanation.
The possible errors containing the error codes
, status code
and how to fix them are listed in the following.
Auth Errors
ERROR CODE | ERROR MESSAGE | EXPLANATION |
---|---|---|
40100 |
| The account does not have the access to kyc file. Please validate your information. |
40101 |
| The JWT token is invalied. Please use the correct JWT |
40102 |
| The Authorization header is empty. Please add it. |
40103 |
| Your authorization token is invalid. Please use the correct JWT. |
40104 |
| Your JWT is expired. Please call refresh JWT to get a new JWT. |
40105 |
| Your personal information has not been validated. Please validate your information. |
40106 |
| Your account does not have the permission to access the kyc files. Please validate your information. |
40107 |
| Your auth header is empty. Please add the JWT. |
40108 |
| The expired time is missing. Please add it. |
40109 |
| The expired time should be float64. |
40110 |
| The payload content uncorrect. Please correct it. |
Note: The character *
means the error message is not stationary. It depends on the detailed error. Please refer the detailed error message.
Validation Errors
ERROR CODE | ERROR MESSAGE | EXPLANATION |
---|---|---|
40000 |
| Your request is invalid. Please check the parameters. |
40001 |
| Your |
40002 |
| The input address is incorrect. Please check the address. |
40003 |
| The chain type is not supported. The chain type includes |
40004 |
| The contract type does not be supported. The supported contract type includes |
40005 |
| The url path is not true. Please check the url again. |
40006 |
| The metadataID is not true. The length of the metadataid should be 64. |
40007 |
| The mint amount is invalied. Please set the mint amount again. |
40008 |
| The mint amount is invalied. Please set the mint amount again. |
40009 |
| The token id is invalied. Please check the token id again. |
40010 |
| The contract type and contract address do not match. Please check the contract type again. |
40011 |
| The page or limit are invalid. The parameters should be integer. |
Conflict Errors
ERROR CODE | ERROR MESSAGE | EXPLANATION |
---|---|---|
40900 |
| |
40901 |
| The company has been validated by other accounts. Please use another one. |
Ratelimit Errors
ERROR CODE | ERROR MESSAGE | EXPLANATION |
---|---|---|
42900 |
| Too many requests are sent in the meantime. Please reduce the number of requests. |
Internal Server Errors
ERROR CODE | ERROR MESSAGE | EXPLANATION |
---|---|---|
50000 |
| There are errors in the internal server. |
50001 |
| The databse operation is not correct. Please check your operation. |
50002 | * | The data does not been found in the database. |
Business Errors
ERROR CODE | ERROR MESSAGE | EXPLANATION |
---|---|---|
60000 |
| The transactions have not been processed. Please wait. |
60001 |
| The number of minted NFTs exceed the limits. Please reduce the number of the minted NFTs. |
60002 |
| The number of deployed contracts exceed the limits. Please reduce the number of the deployed contracts. |
60003 |
| The number of uploaded files exceed the limits. Please reduce the number of the uploaded files |
60004 |
| Your contract has no sponsor. Please set the sponsor first. |
60005 |
| The sponsor balance is not enough. Please connect to the sponsor. |
60006 |
| The contract has not sponsors. |
60007 |
| Only the app admin can reset the contract admin. |
60008 |
| Contract does not belong to the application. |
60009 |
| The contract does not exist. Please use the correct one. |
Last updated