Skip to content

Error Codes ​

Complete reference of error codes in Kassie.

Error Code Format ​

Errors in Kassie follow this format:

json
{
  "code": "ERROR_CODE",
  "message": "Human-readable error message",
  "details": {}
}

Authentication Errors ​

CodeDescriptionSolution
AUTH_REQUIREDNo authentication token providedLogin first
AUTH_INVALIDToken is invalid or malformedRefresh token or login again
AUTH_EXPIREDToken has expiredUse refresh token or login again
AUTH_FORBIDDENInsufficient permissionsCheck user permissions

Connection Errors ​

CodeDescriptionSolution
CONNECTION_FAILEDCannot connect to databaseCheck host, port, and database status
CONNECTION_TIMEOUTConnection attempt timed outCheck network and increase timeout
SSL_ERRORSSL/TLS connection failedVerify SSL configuration

Configuration Errors ​

CodeDescriptionSolution
PROFILE_NOT_FOUNDRequested profile doesn't existCheck profile name in config
CONFIG_INVALIDConfiguration file is invalidValidate JSON syntax
CONFIG_NOT_FOUNDConfig file not foundCreate config file

Query Errors ​

CodeDescriptionSolution
QUERY_ERRORCQL query execution failedCheck query syntax
QUERY_TIMEOUTQuery exceeded timeoutReduce data or increase timeout
INVALID_FILTERWHERE clause syntax errorFix filter syntax
CURSOR_EXPIREDPagination cursor expiredRefresh and start from first page

Internal Errors ​

CodeDescriptionSolution
INTERNALUnexpected server errorCheck server logs, report if persistent

See Troubleshooting Guide for solutions to common errors.

Released under the MIT License.