Download PDFSubmit Feedback

  • Error Code Format
  • Connection-related Error Codes (KW001-KW013)
  • Resource-related Error Codes (KW101)
  • Data Type-related Error Codes (KW201-KW203)
  • System-related Error Codes (KW301-KW310)
  • Metadata-related Error Codes (KW501-KW513)
  • Object Validation-related Error Codes (KW601-KW602)
  • Privilege-related Error Codes (KW701-KW773)
  • KWDB Internal Error Codes (KW801-KW813)
  • Unknown Error Codes (KW901-KW917)

KWDB Specific Error Codes

This section lists the specific error codes and corresponding messages for KWDB, categorized by error type. It helps users easily identify the cause of errors and take appropriate actions to resolve them.

Error Code Format

Error codes are grouped into categories based on their type. The prefix indicates the category, and the numeric part differentiates individual error codes within each category. For example, KW001-KW013 are connection-related errors, while KW301-KW310 are system-related errors.

Error CodeMessageSuggested Action
KW001Connection (%ld) failed: %sRetry the connection. If the issue persists, contact support.
KW002Invalid connection id (%ld)Check the connection ID, then try reconnecting.
KW003Invalid request (unknown message type %d)Use a valid message type to create the message.
KW004Invalid startup packet layout: expected terminator as last byteUse a valid connection terminator to connect to the database.
KW005Protocol %u.%u is not supportedChange the protocol and retry. If the issue persists, contact support.
KW006Authentication failed for user %sCheck the username, password, or token information, then retry.
KW007Insufficient memory (request size: %lu)Check memory usage.
KW008Create inner connection error. %sCheck connection details, memory, or contact support.
KW009Failed to send messages (%s)Contact support.
KW010Failed to receive messages (%s)Contact support.
KW011Unknown type %c, %sContact support.
KW012Get type [%c], %sContact support.
KW013Communication failure: %sContact support.
Error CodeMessageSuggested Action
KW101Apply timer thread failed. %sRelease some threads and retry.
Error CodeMessageSuggested Action
KW201%s(id: %lu) already existsCheck the object name and retry.
KW202Object %s(id: %u) does not existCheck if the object is correct.
KW203%s is not supportedNo action available.
Error CodeMessageSuggested Action
KW301Insufficient memory, failed to allocate %lu bytes memoryCheck memory usage, then retry. If the issue persists, contact support.
KW302Failed to create shared memory segment (%s), reasonCheck if the shared memory already exists or if the settings are correct. Contact support if needed.
KW303Insufficient memory (request size: %u) (maybe bigint)Check memory usage, then retry. If the issue persists, contact support.
KW304Failed to release memory (reason: %s, address is %p)Retry releasing memory. If the issue persists, contact support.
KW305Parameter type error(SizeType is %s, SizeClass is %s)Check the parameter types.
KW306Memory internal error (sanity check): address %s, stack %s %sContact support.
KW307Memory internal error (free): address %s, stack %s %sContact support.
KW308Lost connection to persistent storage engine: ExecuteQueryCheck the storage container's status and reconnect if needed.
KW309Lost connection to persistent storage engine: 3306 connectCheck the storage container's status and reconnect if needed.
KW310Persistent storage engine returned error: %sCheck the storage container.
Error CodeMessageSuggested Action
KW501Object %s(id: %lu) does not existCheck if the parameters used are correct.
KW502Object %s(name: %s) does not existCheck if the parameters used are correct.
KW503Object %s(key: %s) does not existCheck if the parameters used are correct.
KW504Object %s(id: %lu) is invalidCheck the validity of the object.
KW505Object %s(name: %s) is invalidCheck the validity of the object.
KW506Object %s(id: %lu) already existsChange the object and retry.
KW507Object %s(name: %s) already existsChange the object and retry.
KW508User(name: %s) does not have privilege on %s(%u)Check user privileges.
KW509Failed to create message queue: %s.Check the settings and retry.
KW510The size of ConsumeData: %d is incorrectContact support.
KW511Failed to serialize message(type: %s).Contact support.
KW512Failed to deserialize message(type: %s).Contact support.
KW513Metadata %s (NULL) for object %s is invalid.Contact support.
Error CodeMessageSuggested Action
KW601Metadata(%s) verification failedCheck metadata and retry. If the issue persists, contact support.
KW602Parameter(%s) verification errorCheck parameters and retry. If the issue persists, contact support.
Error CodeMessageSuggested Action
KW701User(name: %s) has no privilege on %s(%u)Check user privileges.
KW773Hardware checking failedCheck hardware information and retry. If the issue persists, contact support.

KWDB Internal Error Codes (KW801-KW813)

Error CodeMessageSuggested Action
KW801Failed to initialize object(%s)Contact support.
KW802Internal execution error (%s)Contact support.
KW803Null pointer(%s) is not allowedContact support.
KW804MQ (name: %s) failed to send message (message_type: %d)Contact support.
KW805Failed to insert %s(id: %lu) into list/vector/map/...Contact support.
KW806Failed to insert %s(name: %s) into list/vector/map/...Contact support.
KW807The arguments(%s) do not meet the requirementsContact support.
KW808Calling a function(%s) in a wrong wayContact support.
KW809There is not enough memory spaceContact support.
KW810Null pointer(%s) is not allowedContact support.
KW811The parameter(%s) is out of rangeContact support.
KW812Pointer (%s) is a nullptrContact support.
KW813%s is in the wrong state, its status is %sContact support.

Unknown Error Codes (KW901-KW917)

Error CodeMessageSuggested Action
KW901Unknown typeContact support.
KW912All threads are busy! Try againContact support.
KW913Cannot open cfg file/directory!Contact support.
KW914Cannot find/parse config.Contact support.
KW915Failed to bind message callback functionContact support.
KW917Failed to init TContact support.