目录

Result Codes

AuthErrorCode

Result Code Constant

Result Code

Error Message

Scenario

CLIENT_INITIALIZE_FAILED

11000

Failed to initialize the client instance.

Importing and exporting users, obtaining JWTs, generating public and private keys, authenticating tokens, and revoking tokens

PROJECT_DO_NOT_SET_REGION

11001

No data processing location is set for the authentication credential file.

Importing and exporting users, obtaining JWTs, generating public and private keys, authenticating tokens, and revoking tokens

UID_IS_INVALID

11002

The UID for generating a JWT is empty.

Obtaining JWTs

SIGN_PRIVATE_KEY_IS_INVALID

11003

The private key for generating a JWT is empty.

Obtaining JWTs

PHOTOURL_INVALID

11004

Invalid profile picture URL.

Obtaining JWTs

FAILED_TO_SIGN_JWT_TOKEN

11005

Failed to generate a JWT.

Obtaining JWTs

FAILED_TO_GENERATE_RSA_KEY_PAIR

11006

Failed to generate the public and private keys.

Generating public and private keys

INVALID_IMPORT_USER_DATA

11007

The content of the file to be imported is abnormal and cannot be converted into a user list.

Importing users

IMPORT_USER_DATA_OVER_LIMIT_SIZE

11008

The number of users to be imported exceeds the upper limit 1000.

Importing users

INVALID_IMPORT_USER_FILE

11009

The file storing the user data to be imported does not exist.

Importing users

INVALID_ACCESS_IMPORT_USER_FILE

11010

You are not authorized to read the file storing the user data to be imported.

Importing users

IMPORT_USER_FAILED

11011

Failed to import users.

Importing users

EXPORT_USER_DATA_FILEPATH_IS_INVALID

11012

Invalid path to the file storing the exported user data.

Exporting users

GET_BLOCK_USER_LIST_FAILED

11013

Failed to obtain the user list.

Exporting users

GET_EXPORT_USER_FAILED

11014

Failed to query user data.

Exporting users

INVALID_ACCESS_EXPORT_USER_FILE

11015

You are not authorized to export user data into a file.

Exporting users

EXPORT_USER_TO_FILE_FAILED

11016

Failed to export user data into a file.

Exporting users

REVOKE_REFRESH_TOKENS_UID_IS_NULL

11017

The UID for revoking the token is empty.

Revoking a user's token

REVOKE_REFRESH_TOKENS_FAILED

11018

Failed to revoke the token.

Revoking a user's token

VERIFY_ACCESS_TOKEN_ACCESS_TOKEN_IS_NULL

11019

The access token is empty.

Authenticating a token

ACCESS_TOKEN_INVALID_FORMAT

11020

Invalid format of the token.

Authenticating a token

ACCESS_TOKEN_VERIFY_FAILED

11021

Local token authentication failed.

Authenticating a token

JWT_EXPIRE

11022

The token has expired.

Authenticating a token

GET_PUBLIC_KEY_FAILED

11023

Failed to obtain the public key.

Authenticating a token

ACCESS_TOKEN_ALG_IS_INVALID

11024

The algorithm information in the token is empty.

Authenticating a token

ACCESS_TOKEN_KID_IS_INVALID

11025

The key ID in the token is empty.

Authenticating a token

JWT_VERIFY_FAILED

11026

Failed to authenticate the token on the cloud.

Authenticating a token

JWT_REVOKED

11027

The token has been revoked.

Authenticating a token

EXPORT_USER_FILE_DIR_NOT_EXIST

11028

The directory for storing the exported user data file does not exist.

Exporting users

INVOKE_INTERFACE_FAIL

11029

Failed to call the API.

Importing and exporting users, obtaining JWTs, generating public and private keys, authenticating tokens, and revoking tokens

Result Codes on the Server

Result Code

Error Message

Scenario

203816961

Internal system error.

Importing users, exporting users, authenticating tokens, and revoking tokens