Troubleshooting
The errors you'll actually hit, in plain language, with the fix.
The errors you'll actually hit, in plain language, with the fix. Build & Publish's diagnosis dialog links straight here — each heading matches a diagnosis rule.
"Log Search required" / Tracer looks thin
Symptom: an orange banner in Tracer's task list mentioning Log Search, an Advanced package, or Titanium — and fewer tasks than you expect, with no trace spans.
Cause: full-fidelity tracing needs Enhanced Log Search (the Advanced package or a Titanium subscription). Without it, Tracer degrades to runtime logs.
Fix
Target locked after first deploy
Symptom: a deploy fails with a wall of "component aborted" / errorCode 3025 lines, and text like "target cannot be changed after the initial deployment."
Cause: Anypoint locks a network's deployment target after the first successful deploy. The 3025 cascade is a symptom; the real cause is a single 400 on the deployment update. This is the most common deploy failure.
Fix
Broker can't reach its connections
Symptom: deploy fails with "unreachable connections" or "failed connection validation" (sometimes with a 404).
Cause: at deploy time the broker validates it can reach the endpoints it depends on (MCP servers, agents). Runtime Manager holds it pending until the CLI times out.
Fix
Deploy timed out
Symptom: the deploy step runs to its timeout (5 min default) and is terminated.
Cause: a deploy rarely hangs at random. Almost always the app was created but failed to start, or failed health/connection validation.
Fix
LIFECYCLE_DEPLOY_TIMEOUT_MSwon't help if validation is what's failing.Permission denied
Symptom: a 403 / "forbidden" on publish, deploy, unpublish, or undeploy.
Cause: a role or OAuth scope gap — not a project problem. The CLI runs as you, so your own grants govern the action in that business group.
Fix
No build artifacts (errorCode 3046)
Symptom: deploy fails complaining there are no build artifacts.
Cause: deploy needs a build's target/ output, and it wasn't present — normally the worker chains build in automatically.
Fix
Can't unpublish (active instances)
Symptom: unpublish is refused because active API instances exist.
Fix
Hard-delete window
Symptom: a hard delete is rejected mentioning a hard-delete restriction.
Cause: Anypoint only permits hard delete roughly 7 days after asset creation, and an org can disable it entirely.
Fix
"Converting circular structure to JSON"
Symptom: a cryptic "Converting circular structure to JSON" error.
Cause: the CLI (oclif) couldn't serialize its own error object — almost always because it was passed a flag the installed plugin version doesn't support. The real cause never reaches the log.
Fix
Tracer shows nothing
Symptom: a broker is deployed, but the task list is empty or a task's Task story / LLM reasoning panels are blank.
Causes & fixes:
- Wrong scope — confirm business group → environment → broker, and widen the activity period.
- Object Store expired — Task story / reasoning age out (24h default TTL). An old task simply won't have them anymore.
- Monitoring not enabled — the deployment needs the
INSECURE-LOGGINGcategory enabled in Runtime Manager for full task visibility. - Entitlement — see above; without Log Search you see fewer tasks.
- Just deployed — no one has invoked the broker yet, so there are no tasks. Use Tracer's Invoke rail to create one.
Builder won't export
Symptom: "Save to folder" or "Download .zip" throws"Project validation failed" or "AgentScript conformance failed".
Cause: file exports are hard-gated on zero validation errors and clean AgentScript conformance.
Fix
