#Bug: Brave plugin loads but web_search fails with readProviderJsonResponse is not a function on 5.12

1 messages · Page 1 of 1 (latest)

drowsy cave
#

Running OpenClaw 2026.5.12 on Docker/Linux, Node 24.14.0.
Brave plugin installed via openclaw.mjs plugins install brave, confirmed loaded. Config:
json"tools": {
"web": { "search": { "enabled": true, "provider": "brave" } }
},
"plugins": {
"allow": ["brave"],
"entries": {
"brave": {
"enabled": true,
"config": { "webSearch": { "apiKey": "<redacted>" } }
}
}
}
Plugin shows as loaded at startup (5 plugins listed including brave). When agent calls web_search, fails with:
(0 , _providerHttp.readProviderJsonResponse) is not a function
Direct curl to Brave API with same key returns 200 OK and valid results — key is fine. Agent is working around it by calling Brave API directly via terminal exec, but native web_search tool is broken.
Saw related issue #77737 but that was on 5.3. Is this a known regression on 5.12, and is there a fix or patched plugin version available?

limber acornBOT
#

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

cloud hullBOT
plush cosmosBOT
# drowsy cave Running OpenClaw 2026.5.12 on Docker/Linux, Node 24.14.0. Brave plugin installed...

I checked this against the 2026.5.12 tag and current plugin package. This does not look like a Brave API key/config problem.

The error is a plugin/core version mismatch:

  • @openclaw/brave-plugin@2026.5.22 declares pluginApi >=2026.5.22
  • that newer Brave plugin calls readProviderJsonResponse
  • OpenClaw 2026.5.12's plugin SDK does not export that helper
  • the 2026.5.12 Brave plugin code does not call that helper

So the practical fix is to align the Brave plugin with the OpenClaw runtime version, or update both together.

For staying on 2026.5.12, try this inside the same Docker/container environment where OpenClaw runs:

openclaw plugins install @openclaw/brave-plugin@2026.5.12 --force
openclaw plugins inspect brave --runtime
openclaw gateway restart
plush cosmosBOT
# drowsy cave Running OpenClaw 2026.5.12 on Docker/Linux, Node 24.14.0. Brave plugin installed...

If you want the newer Brave plugin, update OpenClaw itself to a matching/current version, then update/reinstall the plugin and restart the gateway.

Docs:
https://docs.openclaw.ai/tools/web
https://docs.openclaw.ai/cli/plugins

If the installer allowed a 2026.5.22 plugin on a 2026.5.12 host despite that pluginApi requirement, that’s worth filing as a GitHub issue: https://github.com/openclaw/openclaw/issues