Return Code

Error CodeExternal Description

0

Success

401

User not login

402

App key not exist

403

Wallet address not in whitelist during testing period

40000

General error

40001

Fail to register

40002

Fail to get node info

40003

Invalid session

40004

Fail to register account key

40005

Fail to register permission key

40006

Fail to assign default data key to self

40007

User not exist

40008

Fail to create table

40009

Data type of encryption column doesn't match data key (possibly caused by altering an encrypted column type or re-creating a table with same column name and different encryption type)

40010

Data key not exist

40011

Fail to find table

40012

Fail to drop table

40013

Fail to drop cocoon which contains table

40014

Cocoon not exist

40015

Fail to delete App key

40016

Fail to grant permission

40017

Fail to execute SQL

40019

Fail to query permission key ID by wallet address

40020

Fail to query permission key ID by account ID

40021

Fail to list all tables

40022

Table not exist

40024

Fail to link table to cocoon

40025

Create cocoon error

Last updated