#plugins.entries.active-memory.config: invalid config: must NOT have additional properties

15 messages · Page 1 of 1 (latest)

opal perch
#

Trying out active memory, getting this error message. Using the following setup:
"active-memory": {
"enabled": true,
"config": {
"agents": [
"main"
],
"allowedChatTypes": [
"direct"
],
"queryMode": "recent",
"promptStyle": "balanced",
"timeoutMs": 15000,
"maxSummaryChars": 220,
"persistTranscripts": false,
"logging": true
}
},

dense lodgeBOT
coral raptorBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> âś… Mark Solution

dense lodgeBOT
woven auroraBOT
#

Let me verify the schema in the local docs/code so I don’t guess at config keys.

#

First thing, what does openclaw --version show?

I checked the current docs + schema, and the keys you pasted are valid on current builds. So this usually means version mismatch, meaning your install is older than the Active Memory docs/snippet.

A couple gotchas:

  • allowedChatTypes: ["direct"] means Active Memory will not run in this Discord thread, because this is a channel context.
  • You probably also want config.enabled: true in addition to the top-level plugin enabled: true.

Try this known-good shape:

{
  plugins: {
    entries: {
      "active-memory": {
#
        enabled: true,
        config: {
          enabled: true,
          agents: ["main"],
          allowedChatTypes: ["direct"], // add "channel" if testing in Discord threads/channels
          modelFallback: "google/gemini-3-flash",
          queryMode: "recent",
          promptStyle: "balanced",
          timeoutMs: 15000,
          maxSummaryChars: 220,
          persistTranscripts: false,
          logging: true,
        },
      },
    },
#

This helps Answer Overflow index the solution for future users.

opal perch
#

I'm on 2026.4.12

woven auroraBOT
#

Let me check the 2026.4.12 schema directly, because at that version your snippet should either validate cleanly or there’s a regression.

#

Ah, that helps.

I just validated your pasted block against the current schema, and that block is valid. So the problem is probably where you pasted it, not the keys themselves.

Most likely you’re setting plugins.entries["active-memory"].config directly. If so, that field expects only the inner config object, not the whole plugin block.

If you’re editing the full openclaw.json

This is correct:

plugins: {
  entries: {
    "active-memory": {
      enabled: true,
      config: {
        agents: ["main"],
#
        allowedChatTypes: ["direct"],
        queryMode: "recent",
        promptStyle: "balanced",
        timeoutMs: 15000,
        maxSummaryChars: 220,
        persistTranscripts: false,
        logging: true,
      },
    },
  },
}

If you’re editing only plugins.entries["active-memory"].config

Use just this:

#
{
  agents: ["main"],
  allowedChatTypes: ["direct"],
  queryMode: "recent",
  promptStyle: "balanced",
  timeoutMs: 15000,
  maxSummaryChars: 220,
  persistTranscripts: false,
  logging: true,
}

Then set the plugin enable separately:

#
plugins.entries["active-memory"].enabled: true

Also, small gotcha: if you’re testing in this Discord thread, ["direct"] won’t match. You’d want:

allowedChatTypes: ["direct", "channel"]

Docs: https://docs.openclaw.ai/concepts/active-memory

If you want, paste the output of:

openclaw config get 'plugins.entries["active-memory"]' --json