Skip to main content
Version: 3.17

Authentication and Authorization Error Codes

This page provides a list of error codes related to authentication and authorization.

Error code classes and descriptions​

ClassDescription
DB-AUTH-1xxxxErrors for the user error category
DB-AUTH-3xxxxErrors for the internal error category

DB-AUTH-1xxxx status codes​

The following are status codes and messages for the user error category.

DB-AUTH-10000​

Message

The user already exists. Username: %s

DB-AUTH-10001​

Message

The user does not exist. Username: %s

DB-AUTH-10003​

Message

The namespace does not exist. Namespace: %s

DB-AUTH-10004​

Message

The table does not exist. Table: %s

DB-AUTH-10005​

Message

Invalid username or password

DB-AUTH-10006​

Message

Access denied: Invalid auth token

DB-AUTH-10007​

Message

Access denied: You need the %s privilege on the namespace %s to execute this operation

DB-AUTH-10008​

Message

Access denied: You need the %s privilege on the table %s to execute this operation

DB-AUTH-10009​

Message

Access denied: You must be a superuser to execute this operation

DB-AUTH-10010​

Message

Access denied: You can't access information about the user %s

DB-AUTH-10011​

Message

Access denied: You can't alter the user %s

DB-AUTH-10012​

Message

Access denied: You must be a superuser to change the SUPERUSER attribute

DB-AUTH-10013​

Message

You can't change the SUPERUSER attribute for the current user %s

DB-AUTH-10014​

Message

You can't drop the current user %s

DB-AUTH-10015​

Message

Access denied: You can't grant the %s privilege because you don't have the same privilege with GRANT OPTION on the table %s

DB-AUTH-10016​

Message

Access denied: You can't grant the %s privilege because you don't have the same privilege with GRANT OPTION on the namespace %s

DB-AUTH-10017​

Message

Access denied: You can't revoke the %s privilege because you don't have the same privilege with GRANT OPTION on the table %s

DB-AUTH-10018​

Message

Access denied: You can't revoke the %s privilege because you don't have the same privilege with GRANT OPTION on the namespace %s

DB-AUTH-10019​

Message

The operation does not have the target namespace or table name. Operation: %s

DB-AUTH-10020​

Message

The table already exists. Table: %s

DB-AUTH-10021​

Message

The role already exists. Role: %s

DB-AUTH-10022​

Message

The role does not exist. Role: %s

DB-AUTH-10023​

Message

Role not created because it would cause a role cycle to occur. Role: %s; GrantedRole: %s

DB-AUTH-10024​

Message

Access denied: You must be a superuser or have the admin option to execute this operation. Role: %s

DB-AUTH-10025​

Message

Access denied: You must be associated with the role %s

DB-AUTH-10026​

Message

Access denied: You can't grant the %s privilege to the role %s because you don't have the same privilege with GRANT OPTION on the table %s

DB-AUTH-10027​

Message

Access denied: You can't grant the %s privilege to the role %s because you don't have the same privilege with GRANT OPTION on the namespace %s

DB-AUTH-10028​

Message

Access denied: You can't revoke the %s privilege from the role %s because you don't have the same privilege with GRANT OPTION on the table %s

DB-AUTH-10029​

Message

Access denied: You can't revoke the %s privilege from the role %s because you don't have the same privilege with GRANT OPTION on the namespace %s

DB-AUTH-3xxxx status codes​

The following are status codes and messages for the internal error category.

DB-AUTH-30000​

Message

Getting auth token information failed

DB-AUTH-30001​

Message

Getting the user failed. Username: %s

DB-AUTH-30002​

Message

Creating a user failed. Username: %s

DB-AUTH-30003​

Message

Altering the user failed. Username: %s

DB-AUTH-30004​

Message

Dropping the user failed. Username: %s

DB-AUTH-30005​

Message

Granting privileges failed. Username: %s; Namespace: %s; Privileges: %s

DB-AUTH-30006​

Message

Granting privileges failed. Username: %s; Table: %s; Privileges: %s

DB-AUTH-30007​

Message

Revoking privileges failed. Username: %s; Namespace: %s; Privileges: %s

DB-AUTH-30008​

Message

Revoking privileges failed. Username: %s; Table: %s; Privileges: %s

DB-AUTH-30009​

Message

Getting users failed

DB-AUTH-30010​

Message

Getting privileges failed. Username: %s; Namespace: %s

DB-AUTH-30011​

Message

Getting privileges failed. Username: %s; Table: %s

DB-AUTH-30012​

Message

Deleting privileges failed. Namespace: %s

DB-AUTH-30013​

Message

Deleting privileges failed. Table: %s

DB-AUTH-30014​

Message

Logging in failed. Username: %s

DB-AUTH-30015​

Message

Logging out failed

DB-AUTH-30016​

Message

Renaming table in privileges failed. Old table: %s; New table: %s

DB-AUTH-30017​

Message

Creating a role failed. Role: %s

DB-AUTH-30018​

Message

Dropping the role failed. Role: %s

DB-AUTH-30019​

Message

Granting the role to the user failed. User: %s; Role: %s

DB-AUTH-30020​

Message

Revoking the role from the user failed. User: %s; Role: %s

DB-AUTH-30021​

Message

Revoking the admin option from the user failed. User: %s; Role: %s

DB-AUTH-30022​

Message

Granting the role to the role failed. Role: %s; Granted role: %s

DB-AUTH-30023​

Message

Revoking role from role failed. Role: %s; Granted role: %s

DB-AUTH-30024​

Message

Revoking admin option from role failed. Role: %s; Granted role: %s

DB-AUTH-30025​

Message

Getting the role failed. RoleName: %s

DB-AUTH-30026​

Message

Getting roles failed

DB-AUTH-30027​

Message

Getting role hierarchies failed. Role: %s

DB-AUTH-30028​

Message

Getting users for role failed. Role: %s

DB-AUTH-30029​

Message

Getting roles for the user failed. Username: %s

DB-AUTH-30030​

Message

Getting role privileges failed. RoleName: %s; Namespace: %s

DB-AUTH-30031​

Message

Getting role privileges failed. RoleName: %s; Table: %s

DB-AUTH-30032​

Message

Granting privileges to the role failed. Role: %s; Namespace: %s; Privileges: %s

DB-AUTH-30033​

Message

Granting privileges to the role failed. Role: %s; Table: %s; Privileges: %s

DB-AUTH-30034​

Message

Revoking privileges from the role failed. Role: %s; Namespace: %s; Privileges: %s

DB-AUTH-30035​

Message

Revoking privileges from the role failed. Role: %s; Table: %s; Privileges: %s