← Blog

Engineering · · 4 min read

AI agent troubleshooting: find the question behind the failure

Find answers to 40 practical questions about agent loops, Slack duplicates, Notion retrieval, Stripe retries, MCP permissions, GitHub access, context cost, and approvals.

Deixic

The agent repeated itself. The bot replied twice. The document exists and the answer ignores it. Start with the observable behavior, then follow the request to where it went wrong.

These guides answer questions from public developer discussions, with follow-ups that fix the workflow. Each links the original reports and provider documentation. A historical bug report explains why a question matters; check your installed version for it.

Choose the symptom before changing the prompt#

What you see Start by inspecting
The same tool runs repeatedly Result delivery, progress, stop conditions
Two identical Slack replies Event delivery, worker ownership, send history
A Notion title with no usable content Page-body retrieval, access, pagination, nested blocks
Repeated Stripe business actions Event identity, operation identity, uncertain outcomes
A connected tool refuses an action Actor, target, scope, execution-time permission
Each short follow-up costs more Included history, tool results, reported usage
Approving work repeats an earlier step Replay boundaries and side effects
GitHub returns 404 or 403 Route, repository selection, token type, response headers

Repeated tool calls#

Slack replies#

Notion retrieval#

Stripe retries#

MCP permissions#

Context and cost#

Approval and resume#

GitHub access#

Keep the evidence that makes the next attempt useful#

Save the logical task, exact operation, non-secret connection identity, target, first failure, and last known result. For a write, record whether it was never sent, confirmed, or uncertain.

To compare a fix, replay the original failure and a legitimate neighboring case: a loop detector still allows status polling, deduplication still accepts a new request with the same text, and an access fix still denies the wrong repository.

See the full troubleshooting series, the connected-system workflow guides, or the connector directory.