Troubleshoot a mod changedplugins/mods/troubleshoot
Nearest release: v2.1.335, published 2 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 2 Dec 2026 19:32 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 19:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−7removed
From line
70
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits42to this page, all time
### A message about the deny rules in your settings
The whole hunk
from line 70, old and new numbered
/
from line 70
7070| Message contains | What it means | Where it appears |
7171| :- | :- | :- |
7272| `mods are limited to your organization's by policy (allowManagedModsOnly)` | Your organization allows only [its own mods](https://code.claude.com/docs/en/plugins/mods/admin.md#install-your-organizations-mods), so yours was refused | The debug log, and the transcript in a [session that hot-reloads a plugin directory](#find-out-why-a-mod-does-nothing) |
73| `tried to lift` or `tried to reword`, such as `tried to lift a deny rule in your settings` | A hook in your mod, such as [`tool.check`](https://code.claude.com/docs/en/plugins/mods/events#approve-or-refuse-a-tool-call-before-the-user-is-asked), tried to loosen or reword the decision the message names. That decision stands. Return what `await next(e)` gives you, or a stricter decision. | The transcript and the debug log. In a `claude -p` run, the debug log. |
73| `(allowModsToOverrideDenyRules)` | A hook in your mod, such as [`tool.check`](https://code.claude.com/docs/en/plugins/mods/events#approve-or-refuse-a-tool-call-before-the-user-is-asked), tried to loosen or reword the decision the message names. That decision stands. Return what `await next(e)` gives you, or a stricter decision. | The transcript and the debug log. In a `claude -p` run, the debug log. |
7474| `the rules and hooks in your settings could not be checked for this call, so it is refused` | The guard failed while checking a call that a mod approved, so it refused the call | The reason Claude reads for the denied call |
7575| `is not for plugins outside policy to change` | Your mod tried to change an environment variable the guard refuses. Remove that `$.env.set` call. | The error `$.env.set` throws |
7676| `would be named as a tool of one of the organization's servers` | One cause is a plugin name that matches one of your organization's MCP server or plugin names. Rename the plugin and update hooks that match the tool's old [full name](https://code.claude.com/docs/en/plugins/mods/api.md#add-a-tool). If the error stays, ask an administrator whether [`managed-mcp.json`](https://code.claude.com/docs/en/managed-mcp#deploy-managed-mcp-json) is readable and valid. | The error `$.tool.register` throws |
from line 219
219219> [!NOTE]
220220>
221221> In [some interactive terminal sessions and VS Code sessions](https://code.claude.com/docs/en/hooks.md#pretooluse-updatedinput-in-auto-mode), the same denial gives the reason `a hook changed this call's input after auto mode reviewed it`. The repeated call there carries the mod's first change, and a `tool.call` hook still runs on it, but a further change is dropped. You don't need to change your mod unless Claude tells you in its reply that [auto mode couldn't check the call](https://code.claude.com/docs/en/errors.md#hook-changed-input-after-review).
222
223### A message about the deny rules in your settings
224
225`tried to lift a deny rule in your settings` and `the rules and hooks in your settings could not be checked for this call, so it is refused` both come from the built-in guard.
226
227Look them up in [Messages from the built-in guard](#messages-from-the-built-in-guard).
228222
229223## A toast appears after a turn is stopped
230224
No line in this hunk matches that.