OtterMind/Chat2DB · error · BusinessException

mysql.account.actionUnsupported

mysql.account.actionUnsupported

Error message

mysql.account.actionUnsupported

What it means

Error "mysql.account.actionUnsupported" thrown in OtterMind/Chat2DB.

Solutions

  1. Use one of the action types declared in AccountActionTypeEnum.
  2. Fix the client or caller sending the unsupported action value.

When it happens

Trigger: An account action string was supplied that does not map to any supported AccountActionTypeEnum constant.

Common situations: See trigger scenarios.


AI-assisted analysis of OtterMind/Chat2DB@5ee1e990e7 (2026-08-14). Data as JSON: /api/errors/9e75d14eb77b2fd5. Report an issue: GitHub.

Appendix: source

Thrown at chat2db-community-server/chat2db-community-domain/chat2db-community-domain-api/src/main/java/ai/chat2db/community/domain/api/enums/plugin/AccountActionTypeEnum.java:21

import ai.chat2db.community.tools.exception.BusinessException;

public enum AccountActionTypeEnum {
    CREATE_USER,
    ALTER_PASSWORD,
    LOCK_ACCOUNT,
    UNLOCK_ACCOUNT,
    DROP_USER,
    GRANT_PRIVILEGE,
    REVOKE_PRIVILEGE;

    public static AccountActionTypeEnum from(String value) {
        if (value == null) {
            throw new BusinessException("mysql.account.actionRequired");
        }
        try {
            return valueOf(value);
        } catch (IllegalArgumentException e) {
            throw new BusinessException("mysql.account.actionUnsupported", null, e);
        }
    }
}

View on GitHub (pinned to 5ee1e990e7)