whereamimentioned
PricingMethodologyDocsFree checkerFree toolsBlog
Sign inGet started
  • Start here

    • Overview
    • Quickstart
    • Concepts
    • Authentication and keys
  • REST API

    • API overview
    • Endpoint reference
    • Errors and rate limits
    • TypeScript client
  • CLI

    • CLI overview
    • Command reference
    • Configuration and credentials
    • Using the CLI in CI
  • MCP server

    • MCP overview and install
    • Tool reference
    • Prompts and recipes
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
Documentation menu
  • Start here

    • Overview
    • Quickstart
    • Concepts
    • Authentication and keys
  • REST API

    • API overview
    • Endpoint reference
    • Errors and rate limits
    • TypeScript client
  • CLI

    • CLI overview
    • Command reference
    • Configuration and credentials
    • Using the CLI in CI
  • MCP server

    • MCP overview and install
    • Tool reference
    • Prompts and recipes
  • Help

    • Troubleshooting
    • FAQ
    • Glossary

Loading the page

whereamimentioned

The AI-visibility platform that tells you the truth about how AI engines represent your brand: grounded, rigorous, and transparent.

Product

  • Free checker
  • Free tools
  • Pricing
  • Docs
  • Get started

Trust

  • Methodology
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

Account

  • Sign in
  • Create account

© 2026 whereamimentioned. All rights reserved.

v1 covers grounded AI models via live web search. AI Overviews and Copilot are on the roadmap.

Help

Troubleshooting

Symptom, cause and fix for every situation people get stuck in, across the CLI, the REST API and the MCP server. Start with the symptom you see.

Every error on every surface carries a code and a request id, and the CLI's messages end with the command that fixes the problem. This page is for the cases where the message is not enough, or where nothing was printed at all. Find your symptom; each entry says what is happening and what to do. When you contact support, include the X-Request-Id or the requestId from the error; it is the one thing that lets us find your request.

First checks, in order

  1. wam auth status (or GET /api/v1/me). If it fails, the problem is the credential, and nothing else will work until it is fixed.
  2. wam config list. It shows which organization and workspace were resolved and from where. Most "wrong data" problems are a stale wam.json or an unexpected WAM_ORG.
  3. wam org list on an account-wide key. It is not gated on a paid plan, so it tells you which organizations have lapsed.
  4. The status of the service if everything fails at once with 429 or 500. Rate limiting fails closed: an outage of the limiter's store denies every request rather than letting them through.

Signing in and keys

Not signed in (exit 3) right after wam auth login succeeded

The key was stored, but the CLI cannot read it back. Almost always the credential store: on Linux without a D-Bus session (SSH, a container) Secret Service is unavailable and the CLI fell back to a file, or the keyring threw. Run wam auth status --debug; it names the backend it tried. Fixes: set WAM_TOKEN in the environment instead, or on a headless machine accept the file fallback (the CLI writes it 0600 and will tell you if the permissions loosened). Also check WAM_PROFILE is not pointing at a profile that has no key.

The browser never opens, or opens and nothing comes back

wam auth login listens on 127.0.0.1 and waits five minutes. A remote shell, WSL, a container or Codespaces cannot reach your local browser back. Use wam auth login --device, approve on any device within ten minutes, or --no-browser to open the printed URL yourself. If the page says the link is invalid, the five minutes passed or the URL was pasted without its query string; run the command again.

Sign-in timed out

Five minutes passed without an approval (browser flow) or ten minutes (device flow). Run the command again. Nothing was created.

401 unauthorized with a key you just created

Three usual causes. The key was copied incompletely (it is a single token starting with wam_live_). The key was created on a preview deployment and starts with wam_test_, which production never accepts. Or it was revoked or has expired; wam auth status and the dashboard show expiry, and revoked keys stay listed for 30 days. On the CLI, check --token or WAM_TOKEN is not overriding the stored key with an old value: --token wins over WAM_TOKEN, which wins over the store.

403 feature_not_available on every call

The organization has no active paid plan. API, CLI and MCP access are included on every paid plan and on nothing else; an organization that never subscribed, or whose payment failed, sits on the free floor. details.billingUrl and the CLI message point at the billing page. The key is fine; the plan is the problem. With an account-wide key, make sure --org or X-Wam-Org names the organization that is paid, not another you also belong to: wam org list shows each one's tier. This has happened to people whose approval page preselected an unpaid organization alphabetically.

403 insufficient_scope

The key does not carry the scope the route needs. wam auth status lists its scopes. A key created with the dashboard's default read-only set cannot run scans (scans:write) or edit prompts (prompts:write); create a new key with the scope. Two other causes with the same code: an organization key on a route that needs an account-wide key (wam org list, wam org create), and a session cookie sent to /api/v1, which is never accepted.

403 insufficient_role

The action needs a higher role than the key's effective role, which is the lower of your live role in the organization and the key's ceiling. The message names both. If your role is high enough but the ceiling caps it, create a key with a higher ceiling (never above your own role, and never owner). If your role is the limit, an owner or admin has to change it in the dashboard.

404 not_found for something you can see in the dashboard

The key resolved a different organization than you think. An organization key is bound to one organization; a resource in another answers 404, never 403, because the API does not confirm that things exist elsewhere. On the CLI, wam auth status shows which organization the key reaches; with an account-wide key, wam config list shows which org was resolved and from where. A wam.json higher up the directory tree can set it for you without you noticing: wam config path lists the files consulted.

422 validation_failed: "must name an organization in the X-Wam-Org header"

An account-wide key with nothing saying which organization. REST: add X-Wam-Org: <slug>. CLI: --org, WAM_ORG, wam config set org, or wam.json. MCP: pin the organization in the URL. GET /api/v1/organizations or wam org list gives the slugs.

Scans

Not enough credits (exit 4) or 402 insufficient_credits

The balance cannot cover prompts x models credits. Nothing was charged. The message prints what is needed, what you have and the billing page. The CLI will not shrink the scan or retry; a person decides whether to buy credits. If the number seems high, wam prompt list shows how many prompts are enabled: a scan asks at most six, so disabling prompts below six lowers the cost.

A scan is already running for this workspace or 409 scan_already_running

One scan runs per workspace at a time. The CLI follows the running one by default (exit 8 with --no-follow); over REST, poll details.pollUrl; on MCP, run_scan returns alreadyRunning: true with the id. Do not retry the create.

409 conflict after an estimate

The quote's priced terms moved between the estimate and the create: a prompt was enabled or disabled, the model roster changed, or the quote is older than five minutes. details.fields names what moved. Estimate again and show the new price. On the CLI, wam scan run does both; exit 9 means run it again.

409 conflict with originalScanId

The Idempotency-Key was already used for a different workspace. Idempotency keys name an intent; use a different one for a different scan. In CI the derived key includes the organization, workspace and date, so this appears when two workflows share a hand-set --idempotency-key.

Exit 5 or 429 on scan creation only

A key may start 3 scans per rolling 60 minutes. The message says when the cap resets. If a scheduled workflow and a manual run share one key, they share the cap; if you need more, use a key per workflow.

--wait ended with exit 1 and "timed out"

The follow waited the full --timeout (default 1800 seconds). The scan keeps running on the server. Read it later with wam scan status <id> or wam report get; nothing was lost and nothing was charged twice. If scans regularly take longer, raise --timeout below your job's own limit.

Exit 6: the scan failed

The scan reached failed. wam scan status <id> and the dashboard show the error. Credits reserved for answers that never ran were refunded. A failure is not retried automatically anywhere; start a new scan when the cause is understood.

The score is 0 and the presence rate is 0

An all-zero report is almost always a brand profile problem, not a true absence: the name the models use for the brand does not match the profile, or the profile is empty. The CLI prints a warning with the scan page URL in this case. Check the brand profile and its aliases in the dashboard, then look at wam scan evidence <id> to see what the models actually said.

The progress percentage went down

progress.total grows while a scan runs, because the planner adds cells adaptively. That is why the CLI prints raw counts with (total may still grow) and the API carries progress.totalIsFinal. Compute a percentage only when that flag is true.

404 on the report

The scan is not done yet: details.status says what it is. Keep polling GET /scans/{id}, or wam scan status <id> --wait.

403 on --format pdf or --format csv

The plan does not include that export. details.allowedFormats lists what it does. --format json is never gated.

The CLI itself

Running npx with the bare name installs something unrelated

The unscoped wam package on npm is not ours. Always use the scoped name: npx @whereamimentioned/cli.

wam: command not found after a global install

The npm global bin directory is not on your PATH, or wam is shadowed by another program. npm bin -g (or npm prefix -g) shows the directory. The binary is also installed as wamctl for machines where wam is taken.

The CLI refuses to run on Node 18

Node 20.19 or newer is required. node --version to check; nvm, fnm or Volta to switch.

No workspace selected (exit 2) or No organization selected

A command needed a workspace or organization and none resolved. Pass --workspace or --org, set WAM_WORKSPACE or WAM_ORG, run wam workspace use acme/acme-main, or commit a wam.json. wam config list shows what was resolved.

wam.json has an unknown key (exit 2)

The project file is strict. Valid keys are $schema, org, workspace and failUnder. apiUrl and token are refused on purpose: a committed file must not decide where a key is sent, and must never carry one. Set the server with WAM_API_URL, --api-url or wam config set apiUrl.

Exit 2 in CI without a clear message

The CLI detected a non-interactive context (CI set, no TTY, --json) and a command needed a confirmation. scan run, org create, workspace create and prompt remove need --yes there. The cost of a scan is still printed before the refusal.

--json output has extra lines in it

Something is writing to stdout that should not. The CLI itself puts only the document on stdout; a shell wrapper, an npm lifecycle script or a wrong --color setting is the usual culprit. Run with npx --yes @whereamimentioned/cli directly, and under --json never mix in --color.

A scan id "is not a scan id or the start of one"

Scan ids are UUIDs; the ID column of wam scan list shows the first eight characters, and any unambiguous prefix works. If several scans share the prefix the CLI lists them (exit 2); type more of the id. A prefix is looked up in the current workspace, so with no workspace selected pass the full id or select one.

TLS errors such as UNABLE_TO_VERIFY_LEAF_SIGNATURE

A corporate proxy or an antivirus that inspects HTTPS is presenting its own certificate, and Node does not trust it. Point Node at your system trust store: node --use-system-ca on Node 22 and newer, or NODE_EXTRA_CA_CERTS=/path/to/the/proxy-ca.pem on any version. This is not a whereamimentioned certificate problem.

The update notice keeps appearing

It prints at most once a day, only in a terminal, and never under --json or in CI. Set WAM_NO_UPDATE_NOTIFIER=1 to turn it off entirely.

The MCP server

The client lists only seven tools

No valid key reached the server, so only the site tools are visible. Check the Authorization: Bearer header in the client's configuration (or WAM_TOKEN for the stdio bridge), that the key is complete and current, and that the organization is on a paid plan. A project-scoped file written by wam mcp install contains the placeholder ${WAM_TOKEN} and expects the variable to be exported in the environment the client runs in.

The client lists seventeen tools, not nineteen

The two account-wide tools (list_organizations, create_organization) need an account-wide key at the unpinned URL /api/mcp. An organization key never sees them, and neither does a pinned URL.

list_workspaces or create_workspace is missing

The URL pins a workspace. A workspace-pinned endpoint drops both so a pinned agent cannot see the tools that would let it wander. Connect to /api/mcp/{org} or /api/mcp to get them back.

run_scan is missing, or refuses with "not available at /readonly"

The URL ends in /readonly, which drops every tool that writes and refuses direct calls to them. Connect to the same URL without the suffix.

run_scan fails with quote_expired or quote_mismatch

The quote token is older than five minutes, was minted for another key or workspace, or its terms moved. The assistant has to call estimate_scan again and show the new cost before run_scan. This is the gate working as designed.

validation_failed on get_scan_status or get_scan_evidence

The scanId must be the full UUID. The eight-character prefixes the CLI accepts are a CLI convenience; the MCP tools and the REST API take the full id. list_scans returns full ids.

The client cannot connect at all

Check the URL is exactly https://whereamimentioned.com/api/mcp (with an optional organization and workspace path, and optional /readonly), and that the client uses the HTTP transport (the server is POST only; GET and DELETE answer 405). A client that only supports stdio, or that speaks a 2025 revision the client cannot upgrade, should use the stdio bridge: npx -y @whereamimentioned/mcp with WAM_TOKEN in its environment. The first request after a cold start of the endpoint can take a few seconds; OpenCode's default tool-fetch timeout of 5 seconds has been known to trip on it, in which case raise timeout on the entry.

A browser-based client gets 403 "Origin not allowed"

The server validates a present Origin header and serves only its own, Claude's and ChatGPT's origins from a browser. Non-browser clients send no Origin and are not affected. If you are building a web client, use a server-side proxy.

wam mcp install --client claude-code prints a snippet instead of installing

On Windows the command needs the native claude.exe; it found only the npm claude.cmd shim, which it will not run through a shell. Run the printed claude mcp add ... line yourself.

The assistant says it will not follow a URL or an instruction from a result

Correct behaviour. Everything the models said about brands, and everything scraped from a site, is returned as data inside explicit untrusted markers, and the three prompts end with an instruction to treat it that way. subscribeUrl and setupUrl are for a person to open.

The free site checks

422 with reason: "unsafe_url"

The URL resolves to a private, loopback or link-local address. The checks run from our server on the public internet; they cannot reach localhost, a staging host behind a VPN or an office network. Use a public URL.

422 with reason: "upstream_unavailable"

The site did not answer, or answered with an error; details.upstreamStatus carries its status. Check the site is up from outside your network.

422 with reason: "crawl_refused"

The site's robots.txt disallows our crawler and nothing readable was found. The generators and the chunking analysis respect robots.txt.

429 on the site checks

30 single-page checks and 10 crawls per hour per IP, shared across the website, the CLI and the MCP server. The MCP server additionally has a global daily ceiling for callers without a key. Wait the Retry-After seconds, or sign in: keyed MCP calls do not use the anonymous buckets.

Still stuck

Open the contact page with the request id, the command or request you sent (with the key removed), and what you expected. The FAQ answers the questions that are not errors.

PreviousPrompts and recipes
NextFAQ

On this page

  • First checks, in order
  • Signing in and keys
  • Scans
  • The CLI itself
  • The MCP server
  • The free site checks
  • Still stuck