Skip to main content

Waii Error Codes

Error NameCodeMessageHTTP Error Code
PERMISSION_DENIED1001You do not have permission403
IMPERSONATION_ERROR1002Error during impersonation401
INVALID_ACCESS_TOKEN1003Found invalid access token401
ACCESS_KEY_NOT_FOUND1004Access key not found401
OAUTH_NOT_ENABLED1005OAuth authentication is not enabled for the database within this account401
INVALID_JWT_TOKEN1006Invalid Jwt token401
USER_UPDATE_ERROR1101Error in user update500
ORG_DOES_NOT_EXIST1102Organization does not exist404
ORG_DELETE_FAILED1103Organization delete failed500
TENANT_DELETE_FAILED1104Tenant delete failed500
ORG_UPDATE_FAILED1105Organization update failed500
REQUIRED_VARIABLES_MISSING1106Required variables missing500
TENANT_DOES_NOT_EXIST1107Tenant does not exist404
QUERY_GEN_MISSING_INFO2001Missing required information for query generation400
SCHEMA_UPDATE_NOT_FINISHED2002The schema update has not finished, query generation cannot proceed409
RUN_QUERY_ERROR2003Internal query error500
EXPLAIN_NON_COMPILE_ERROR2004Non compile error in explain query500
QUERY_GEN_ERROR2005Query generation error500
EXPLAIN_COMPILE_ERROR2006Compile error in explain query500
QUESTION_GENERATE_ERROR2007Error in question generation500
EMPTY_LLM_RESPONSE3001Empty LLM response500
ABBREVIATED_LLM_RESPONSE3002The LLM response is abbreviated or truncated500
CONTENT_FILTER_RESPONSE3003The LLM response was filtered due to content policy violations403
UNPARSABLE_LLM_RESPONSE3004The LLM response could not be parsed500
MODEL_CONFIG_ERR3005Model not configured500
LLM_HEALTH_CHECK_FAILED3006Health check failed503
CREDENTIALS_ERROR3007Invalid or missing credentials401
GUARDRAIL_ERROR3008Error with Guardrails500
THROTTLING_ERROR3009Request rate limit exceeded429
PROMPT_ERROR3010Error in prompt500
NO_TABLE_FOUND4001No table found in the database404
REQUIRED_DB_PARAMETER_MISSING4002Required parameters is missing for the connection.400
UNSUPPORTED_DIALECT4003Given dialect is unsupported400
NOT_ENOUGH_DB_PERMISSION4004Not enough permission to do the task403
UNSUPPORTED_DATABASE4005Given database is not supported400
ACCESS_RULE_VIOLATION4006Violation of access rule403
INVALID_DB_PARAMETER4007Invalid parameter in connection400
UNABLE_TO_CONNECT4008Unable to connect to database500
SESSION_ERROR4009Error in session creation500
SYNTAX_ERROR_IN_QUERY5001Syntax error in query500
UNDEFINED_COLUMN5002Column not found in specified table500
TYPE_MISMATCH_INSERT5003The data type of the value being inserted does not match the data type of the target column.500
INVALID_COLUMN_REFERENCE5004Invalid column reference500
INCORRECT_GROUPING5005Grouping Error500
INCORRECT_DATA_TYPE5006Incorrect data type500
UNDEFINED_FUNCTION5007Undefined function500
UNDEFINED_TABLE5008Table not found500
SUBQUERY_ERROR5009Error in subquery500
AMBIGUOUS_COLUMN5010Ambiguous column in the query500
WINDOWING_ERROR5011Incorrect use of window function500
INCORRECT_QUERY_FORMAT5012Incorrect query format500
INVALID_REQUEST6001Invalid request400
INVALID_CONFIG7001Invalid config400
INTERNAL_OPERATION_FAILED7002An internal error occurred during operation.500
NOT_IMPLEMENTED7003Not Implemented501
TIMEOUT_ERROR7004Timeout error500
FEATURE_NOT_ENABLED7005Feature not enabled403
IO_ERROR7006Error during IO500
INVALID_VALUE7007Invalid value400
PRIMARY_KEY_VIOLATION8001Primary key violation or data integrity issue.500
TABLE_DEF_STORAGE_ERROR8002Error in updating table definitions500
DB_CONN_STORAGE_ERROR8003Error in storing db connection500
EMBEDDING_STORAGE_ERROR8004Error in storing embeddings500
DATABASE_WRITE_ERROR8005Failed to write data to the database.500
DATABASE_READ_ERROR8006Failed to read data from the database.500
CHART_GENERATION_ERROR9001Chart cannot be generated.422