- Logs — open the Logs tab, uncheck everything except WARN and ERROR, and scroll up to the most recent red line. That’s usually the answer.
- Danger tab — the Danger tab is the inventory page. Check status, last sync, the lifecycle-script state, and whether your secrets show as
Synced. - Console — the Console is a shell.
tail /tmp/user-build.log,env,ps auxanswer about 80% of “why doesn’t my service work” questions. - Files — if something used to work and broke after a recent change, restore an earlier snapshot from the Files tab.
- Validate config —
POST /v0/templates/validatechecksmanifest.json;POST /v0/agents/{agentId}/config/validatechecks the engine runtime config shown on the Danger tab. These are different files, see Concepts for the difference.
Agent won’t start / stays in starting
Symptom: status badge stuck on starting, no logs appearing, chat won’t connect.
Check:
Gateway won’t connect / chat is offline
Symptom: chat shows “disconnected” or fails to reconnect. Check: the agent isrunning on the Danger tab, then look at Logs filtered to gateway/ws.
Common causes:
Build script failed
Symptom: Danger → Lifecycle Scripts showsbuild failed; start never ran.
Read the log:
- Wrong working directory -
buildruns from/home/node/clawd, not the workspace - Missing tooling (
pnpm,yarn) - install in the build script first, or use a tool that ships with the image (npm) package.jsonnot found -cdinto the right project subfolder- 5-minute timeout - split the work or pre-install in a snapshot
POST /v0/agents/{agentId}/scripts/retry (or click Retry Scripts).
Start script crashes immediately
Symptom:start finishes seconds after launching - service is unreachable.
Routes not working / 404 / 502
Symptom: the URL for your path route or custom domain doesn’t load. Walk through:
See Routes & Domains for the full domain status table.
Secret update didn’t apply
Symptom: you updated a secret in the Vault but the agent still uses the old value. Check: Danger → Secrets → the per-secret Synced indicator. Out of sync means the running gateway hasn’t been restarted since the update. Fix: Danger → Restart Gateway, orPOST /v0/agents/{agentId}/restart.
Secrets are injected at process start - they are not hot-reloaded.
Skill missing / not loading
Symptom: agent doesn’t seem to know about a skill you attached. Check:Custom domain stuck pending
See Routes → Custom domains - statuses arepending_ownership (TXT record), pending (Cloudflare provisioning), then active.
Device pairing rejects / stuck pending
Symptom: a paired client (CLI, mobile) can’t connect, or stays pending forever.- The device never sent an approval request - re-pair from the client
- You’re on a different workspace than the one you approved from - check Account → Workspaces
- The agent is
not_running- pairing requires the gateway to be up
POST /v0/agents/{agentId}/devices/approve-all.
Git push rejected
Symptom:git push to your agent’s workspace fails.
Common causes:
Tasks aren’t firing
Symptom: a scheduled task isn’t running. Check:- Is the task enabled?
GET /v0/agents/{agentId}/taskswithincludeDisabled=true - Is the agent running? Tasks fire only while the gateway is up; missed runs during downtime are skipped
- Check
cron/runnerlines in Logs around the expected time - Trigger manually:
POST /v0/agents/{agentId}/tasks/{jobId}/run- if that works, the schedule is wrong
Costs / model usage looks off
Switch the agent’s model dropdown in chat to see what model is actually being used, or run/status. Tasks can specify their own model - re-check payload.model if a scheduled run looks unexpected.
Still stuck?
Open a ticket from Support → Chat with us in the sidebar, or emailteam@pinata.cloud. Useful info to include:
- Agent ID (Danger → Agent → Agent ID)
- Engine and version, if shown on the Danger tab
- A recent
EXPORT VISIBLEfrom the Logs tab (filter toERRORfirst) - The relevant section of
manifest.jsonif config-related - What you expected vs. what happened