OtterMind/Chat2DB · error · BusinessException
mysql.account.scopeUnsupported
mysql.account.scopeUnsupported
Error message
mysql.account.scopeUnsupported
What it means
Error "mysql.account.scopeUnsupported" thrown in OtterMind/Chat2DB.
Source
Thrown at chat2db-community-server/chat2db-community-domain/chat2db-community-domain-api/src/main/java/ai/chat2db/community/domain/api/enums/plugin/PrivilegeScopeEnum.java:17
package ai.chat2db.community.domain.api.enums.plugin;
import ai.chat2db.community.tools.exception.BusinessException;
public enum PrivilegeScopeEnum {
GLOBAL,
DATABASE,
TABLE;
public static PrivilegeScopeEnum from(String value) {
if (value == null) {
throw new BusinessException("mysql.account.scopeRequired");
}
try {
return valueOf(value);
} catch (IllegalArgumentException e) {
throw new BusinessException("mysql.account.scopeUnsupported", null, e);
}
}
}
View on GitHub (pinned to 5ee1e990e7)
Solutions
- Use a scope value defined in PrivilegeScopeEnum (e.g. GLOBAL, DATABASE, TABLE).
When it happens
Trigger: An unrecognized privilege scope string was passed to the account management flow.
Common situations: See trigger scenarios.
AI-assisted analysis of OtterMind/Chat2DB@5ee1e990e7 (2026-08-14).
Data as JSON: /api/errors/68a71eee5b61845d.
Report an issue: GitHub.