Content

Every 'App Not Found' Message Your Agent Has Ever Given You, and What It Actually Meant

'App not found' is the single least informative error message in agent tooling, and it can mean six genuinely different things. Here's a field guide to what it actually means, and how to never see the vague version again.

AI AgentNov 20, 2026

Key takeaways

  • -'App not found' is used as a catch-all for at least six distinct underlying failures, each needing a different fix.
  • -Not installed, not connected, misnamed, wrong scope, policy-blocked, and genuinely unsupported all produce the identical error text.
  • -Collapsing six causes into one message forces a user to debug by trial and error instead of by reading the error.
  • -A useful error has to name which of the six actually happened, because the fix for each one is completely different.
  • -Swytchcode's discovery and policy layers return a specific reason, not a generic 'not found,' so the fix is obvious from the error itself.

"App not found" is the single least informative error an agent can give you. It's also, in our experience, a catch-all for at least six genuinely different problems each one needing a completely different fix, all producing the exact same three words.

TL;DR

  • "App not found" collapses at least six distinct failures into one unhelpful message: not installed, not connected, misnamed, wrong scope, policy-blocked, or genuinely unsupported.
  • Each of the six has a completely different fix, so a generic message forces the user into trial-and-error debugging instead of reading the actual cause.
  • A genuinely useful error has to name which of the six happened, not just that something didn't resolve.
  • Swytchcode's discovery and policy layers return the specific reason, so the fix is obvious from the error message itself.

The same three words, six different mornings

Over a few months of running agents against a growing set of integrations, we collected "app not found" for every one of the reasons below, at different times, in different stacks. Each time, the actual fix took minutes once we knew the real cause — and ten or fifteen minutes of guessing before we did. That gap between "instant fix" and "fifteen minutes of guessing" is entirely the error message's fault, not the underlying problem's.

The field guide: six causes, one message

Not installed. The integration genuinely doesn't exist in this agent's toolset yet. Fix: add it. This is the one case where "not found" is actually accurate.

Installed but not connected. The integration exists, but no account has been authorized against it. Fix: complete the OAuth or API-key connection, not reinstall anything.

Misnamed in the request. The agent asked for "slack" when the registered capability is "slack.messages" or similar. Fix: a naming or alias mismatch, not a missing integration at all.

Wrong scope granted. The connection exists, but it was authorized for read access when the agent is requesting a write. Fix: re-authorize with the broader scope, not reconnect from scratch.

Blocked by policy. The integration is installed, connected, and correctly scoped — but a policy rule is explicitly denying this specific call. Fix: adjust the policy, which is the opposite of what "not found" suggests needs fixing.

Genuinely unsupported. No integration for this app exists anywhere in the stack. Fix: this is the one case that actually needs new engineering work, and it's indistinguishable from the other five without a better message.

Why the message collapses to the same three words in the first place

Most tool-calling layers were built around a single lookup: does this capability resolve to something callable, yes or no. Every one of the six causes above fails that single lookup identically, so a system that only checks the one thing has no way to report anything more specific — it's not withholding detail, it genuinely doesn't have a more specific answer computed anywhere, because it never separated "doesn't exist" from "exists but isn't usable right now" into different checks in the first place.

What a useful version of this error actually requires

Separate checks for each of the six causes, run in a defined order, each returning its own specific reason instead of falling through to one generic catch-all. That's not a UX polish problem — it requires the underlying system to actually know, structurally, whether a capability is unregistered, unconnected, misnamed, under-scoped, or policy-blocked, which means building those as distinct states in the first place rather than one boolean "found or not."

Three fixes, and how Swytchcode enforces each one

  1. Check registration, connection, and scope as separate, ordered steps. Swytchcode's discovery layer checks each condition independently, so it can tell you which one actually failed instead of reporting a single undifferentiated miss.
  2. Surface a policy block as a policy block, not a missing app. When a call is denied by a policy rule, the response says so explicitly, because the fix — adjusting policy — is the opposite of installing anything.
  3. Reserve "not supported" for the one case that's actually true. The genuinely-unsupported case gets its own distinct message, so it stops absorbing five other problems that have nothing to do with needing new integration work.

To see exactly which of the six a specific call would hit, before guessing:

swytchcode exec slack.message.send --explain   # see what would run, no HTTP call
swytchcode exec slack.message.send --dry-run   # see the planned request
swytchcode exec slack.message.send --demo      # simulated run, no credentials

Discovery and error-reporting details are in the Swytchcode docs. If the cause turns out to be a connection that was never completed, the companion post on why OAuth isn't simple for self-hosted agents covers that specific gap.

FAQ

Is this just a logging or error-message improvement, nothing structural? It requires the underlying checks to actually be separate internally, not just worded differently — you can't report a specific cause a system never distinguished in the first place.

Which of the six is most common in practice? In our experience, "installed but not connected" and "wrong scope granted" account for the large majority — the integration usually exists, the authorization just isn't complete or broad enough yet.

Can a policy-blocked call be made to fail more loudly than a generic error? Yes — that's the specific point of separating it out: a policy denial should read as "this is deliberately blocked," not as "this doesn't exist," so nobody wastes time trying to install something that was never missing.

Does better error reporting slow down the discovery check itself? The checks were going to run regardless of whether their individual results get surfaced — returning the specific one that failed costs nothing extra over returning a generic catch-all.

Try it

If your agent's last "app not found" sent you guessing instead of straight to the fix, that's the generic-error problem, not a genuinely missing integration.

Install the Swytchcode CLI, read the discovery docs, and run --explain on the next capability that comes back unresolved to see exactly which of the six it is. One command, no SDK setup.

Related reading: Ask Your Agent for Any App and The Real Reason 'Just Add OAuth' Isn't Simple for a Self-Hosted Agent.

More content

Ready to make your agent's tool calls reliable?

Give this prompt to your agent and get started.