11.3 Returned Code


Returned code Description
9999 Unknown error
1001 {attribute}Parameter is empty
1002 {attribute}The format of parameter is invalid
1003 {attribute}Data is incomplete or contains an empty attribute
1004 {attribute}Parameter is too long
1005 Transaction timeout
1006 Transaction error
1008 Config file not found
1009 Node private key is empty
1010 DID contract address is empty
1011 CPT contract address is empty
1012 Auth issuer contract address is empty
1013 DID blockchain type is empty
1014 Failed to initialize the DID SDK
1020 Failed to create the key pair
1021 {attribute}Public and private keys do not match
1022 {attribute}Public key is empty
1023 {attribute}Invalid public key format
1024 {attribute}Private key is empty
1025 {attribute}Invalid private key format
1026 {attribute}Invalid key
1027 {attribute}Encryption Type is empty
1028 {attribute}Invalid Encryption Type
1029 {attribute}Failed to sign the data
1030 {attribute}Signer and DID do not match
1031 {attribute}Signature verification failed
1032 Primary publicKey and didDocument do not match
1033 Recovery publicKey and didDocument do not match
1040 DID already exists
1041 DID does not exist
1042 Failed to create DID
1043 Invalid DID
1044 Failed to generate DID
1045 Failed to generate DID Document
1046 DID Document verification success
1050 Issuer already exists
1051 Issuer does not exist
1052 Failed to create issuer
1053 DID is not registered as issuer
1054 No issuer data available
1060 CPT does not exist
1061 No CPT data available
1062 CPT and issuer do not match
1070 Credential has been revoked
1071 Credential has expired
1072 Failed to revoke credential
1073 CPT and credential do not match
1074 Failed to create credential
1075 Credential verification success
1076 No data available for credential revocation
1077 Computed DID from the document is not same with the DID in the document
1078 Created time is different with updated time in DID Document
1079 Public key Signature verification failed
1080 CPT template DID does not equal proof creator
1081 DID Document version does not match with blockchain
1082 DID Document created does not match with blockchain
1083 DID Document recovery key does not match with blockchain
1084 Failed to store DID Document to the chain
1337 Failed to encrypt the key
1338 Failed to sign the data
Identity Hub
1301 DID is empty
1302 The format of DID is incorrect
1303 Private key is empty
1304 Private key format is incorrect
1305 Public key is empty
1306 Public key format is incorrect
1307 Public key and private key do not match
1309 Credential content is empty
1310 The URL is empty
1311 The format of the URL is incorrect
1313 The format of grantPublicKey is incorrect
1314 grantPublicKey is empty
1316 grantPublicKey is empty
1317 The format of grantPublicKey is incorrect
1318 The format of Config File is invalid, cannot be parsed
1319 The URL of Identity hub cannot be empty in the configuration file
1320 Identity hub's public key must not be empty in the configuration file
1321 The URL of Identity hub cannot be empty
1322 Identity hub's public key cannot be empty
1323 The connection info cannot be empty
1327 Failed to send request
1328 grant is incorrect
1329 grant cannot be empty
1330 grant should be empty
1331 No permission to perform this operation
1332 The current user cannot authorize himself
1333 The URL should be empty
1334 The URL cannot be empty
1335 Resource does not exist
1336 Key is empty
1337 Failed to encrypt the key
1338 Failed to sign the data
1339 Failed to add permission
1340 Only the permission owner can delete it
1341 Failed to delete permission
1342 Failed to query permission
1343 Grant parameter is empty
1344 Failed to check permission
1345 The public key in the configuration file is empty
1346 The private key in the configuration file is empty
1347 Failed to get publicKey
1350 Config file not found
1351 The public key is empty
1352 Cannot add permission to yourself
1353 The grantee’s public key is empty
1354 Illegal flag
1355 Failed to generate private and public keys
1356 The address and the public key are empty
1357 The address is empty
1358 The public key is empty
1359 The chain type is empty
1361 User ID is empty
1362 The granted user ID is empty
1363 The granted public key is empty
1364 Failed to generate the user ID
1365 Failed to decrypt the data
1366 Failed to encrypt the data
1367 Failed to decrypt Identity hub's private key
1368 The private key of Identity hub is empty
1369 The public key of Identity hub is empty
1370 You have no permission to save resource
1371 You have no permission to update resource
1372 The resource has been saved, cannot save it again
1373 The granted user already have an unused write permission
1400 Permission does not exist
1402 Delete permission error
1403 Query permission error
1405 Connect hub error
1406 Get public key error
1407 Update public key error
1408 Save resource error
1409 Query resource error
1410 Delete resource error
1411 Update resource error
1412 Get http request error on the web
1413 Cannot get the private key of Identity hub
1414 Miss field data
1415 Parse request paramter error
1416 Unknown client data or not connected
1417 Parse return code error
1418 Resource not found
1419 The url format is incorrect
1420 DID and public key do not match
1422 Signature verification failed
1425 The user is not registered
1426 The user failed to register due to incorrect public key format
1427 The user has been registered
1428 The granted user does not exist
1429 Only the resource owner can delete it
1430 Failed to add operation record
1431 Failed to register the public key
1432 The user ID is empty
1433 Failed to parse the request parameter
1434 Failed to add operation history record
1435 Failed to update the resource
1436 The resource does not exist, cannot update it
1437 Failed to save the resource
1438 Failed to save the user information to the database
1439 Failed to add address and publicKey
1440 The address already exists
1441 The current permission has been used or there is no permission
1442 Failed to check the permission when save the resource
1501 Failed to query the encryption key of the granted resource
1502 Failed to decrypt the key of the granted resource
1503 The resource does not exist
1504 Recovery key pair is incorrect, cannot reset DID authentication
1505 Primary private key and public key do not match

Note: {attribute} is a dynamic parameter.

© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-12-22 16:59:38

results matching ""

    No results matching ""

    results matching ""

      No results matching ""