mem0ai/mem0 · error · ValueError
Extra fields not allowed: {}. Please input only the followin
Error message
Extra fields not allowed: {}. Please input only the following fields: {} What it means
Error "Extra fields not allowed: {}. Please input only the following fields: {}" thrown in mem0ai/mem0.
Source
Thrown at mem0/configs/vector_stores/oracledb.py:110
exclude_none=True,
)
if self.index_accuracy is not None:
if not (0 < self.index_accuracy <= 100):
raise ValueError("`index_accuracy` must be between 1 and 100")
if not (0 < self.embedding_model_dims):
raise ValueError("`embedding_model_dims` must be bigger than 0")
return self
@model_validator(mode="before")
@classmethod
def validate_extra_fields(cls, values: Dict[str, Any]) -> Dict[str, Any]:
allowed_fields = set(cls.model_fields.keys())
extra_fields = set(values.keys()) - allowed_fields
if extra_fields:
raise ValueError(
"Extra fields not allowed: {}. Please input only the following fields: {}".format(
", ".join(sorted(extra_fields)), ", ".join(sorted(allowed_fields))
)
)
return values
View on GitHub (pinned to 001c235229)
Solutions
- Remove the extra config fields listed and keep only the allowed OracleDB fields.
When it happens
Trigger: Thrown at mem0/configs/vector_stores/oracledb.py:110 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of mem0ai/mem0@001c235229 (2026-08-15).
Data as JSON: /api/errors/4f35c3a3ae655e0c.
Report an issue: GitHub.