Skip to content

Why a call was blocked

Every call shows in Calls with its outcome. When TestMachine blocks a call, it tells the agent why, so the agent can explain it or change course. This page lists each reason, in the words the dashboard uses.

Mode What it means
Enforce A block stops the call. The agent is told which clause, and why.
Shadow mode Clause blocks are recorded and the call still goes through. Blocks for identity, agent and server setup still apply.

CLAUSE_VIOLATION. At least one clause voted block. The agent is told which, and why.

When what caused this block runs in Shadow mode, TestMachine records it and still lets the call through.

What the agent is told:

Blocked by TestMachine policy.
§01 No credentials in tool calls. Why: This call contains a credential. What to do instead: Remove the credential and refer to where it is stored instead, such as its name in the password manager or an environment variable, then make the call again. Don't encode or split it to get it through.

JUDGE_UNAVAILABLE. The judge and its fallback both timed out or errored, so TestMachine blocked the call.

Fix: Check the judge model. An admin does this.

When what caused this block runs in Shadow mode, TestMachine records it and still lets the call through.

What the agent is told:

Blocked by TestMachine: TestMachine could not evaluate this call right now, so it is blocked. Try again shortly.

UNKNOWN_IDENTITY. The caller is not an active agent identity.

Fix: Check the person and identity. An admin does this.

This block applies in Shadow mode too.

What the agent is told:

Blocked by TestMachine: Your TestMachine identity is unknown or disabled. Ask an admin.

UNKNOWN_AGENT_CLIENT. A self-registered OAuth client has no agent name.

Fix: Name the agent. An admin does this.

This block applies in Shadow mode too.

What the agent is told:

Blocked by TestMachine: This agent hasn't been named by a TestMachine admin yet. Ask an admin to name it in the dashboard.

PLAN_LIMIT. The org’s plan has no room for this: another agent, or more server calls this month.

Fix: Upgrade the plan. An admin does this.

This block applies in Shadow mode too.

What the agent is told:

Blocked by TestMachine: Your organization's TestMachine plan has no room for this agent, or has used this month's server calls. Ask an admin to upgrade the plan.

SERVER_NOT_CONNECTED. The server is disabled or not attached.

Fix: Attach or enable the server. An admin does this.

This block applies in Shadow mode too.

What the agent is told:

Blocked by TestMachine: That server isn't attached to your organization in TestMachine.

CREDENTIAL_MISSING. The person has not connected their account for this server.

Fix: Ask them to connect their account. The person using the agent does this.

This block applies in Shadow mode too.

What the agent is told:

On a server where each person connects their own account:

Blocked by TestMachine: connect your account first. Ask the user to open https://agents.testmachine.ai/o/<org>/connect/notion?… and sign in, then retry.

On a server with a shared key:

Blocked by TestMachine: an admin hasn't set the shared key for this server yet.

AUDIT_UNAVAILABLE. TestMachine could not record the verdict, so it blocked.

Fix: Check the registry. An admin does this.

This block applies in Shadow mode too.

What the agent is told:

Blocked by TestMachine: TestMachine could not record this call in the audit trail, so it is blocked. Try again shortly.

ARGS_TOO_LARGE. The call’s arguments were over 64 KB and were not judged.

Fix: Ask the agent to send less. The person using the agent does this.

This block applies in Shadow mode too.

What the agent is told:

Blocked by TestMachine: The call's arguments are larger than 64 KB, so TestMachine blocked it.

DECLARATION_MISSING. A clause asks the agent to declare something on this tool, such as why it is making the call or the session it belongs to, and it didn’t. The agent is told what to declare and retries.

When what caused this block runs in Shadow mode, TestMachine records it and still lets the call through.

What the agent is told:

Blocked by TestMachine: This tool needs you to declare more before it runs. Fill in the fields it asks for and retry.

Some calls are marked for review whether they were allowed or blocked. The mark never changes the outcome.

Mark What it means
Models split On at least one clause, one model in the judge panel was confident the call was allowed and another confident it was blocked. The verdict follows the panel’s mean; review whether it was right, and whether the clause needs rewording.
Low confidence On at least one clause, the judge panel answered near 50/50. The verdict stands; review whether it was right.
Judge failed The judge and its fallback both timed out or errored, so TestMachine blocked the call. Review whether it should have gone through.

When you review a call, choose one of these:

Review What it means
Correct The verdict was right. Nothing to change.
False block TestMachine blocked a call it should have allowed. Usually a clause to narrow.
False allow TestMachine allowed a call it should have blocked. Name the clause that should have caught it.