Docs/Shadow Ai/Troubleshooting

Troubleshooting

Common problems with Discover AI (Shadow AI) and how to fix them. For directory sync, see Directory Integration > Troubleshooting.

A device does not appear under Devices

A device appears after one of its clients checks in. Check:

  • The enrollment script ran for the right user. It must run as the person who uses the device, not as a separate admin account. With MDM, it must run as the logged-in user.
  • The client started after the script ran. Restart the browser, or restart the desktop agent, so it reads the new managed settings.
  • The time range. Devices lists devices with activity in the selected range. Widen it to Last 30 days.
  • Network access. The client must reach your ANTS Platform host over HTTPS. Check proxies and firewalls.

A device shows Partly offline

Partly offline means the device is online, but one or more of its browser extension installs has not checked in for 70 minutes. The table shows a count such as "1 of 3 offline" under the badge. A browser extension checks in only while its browser is open, so this usually means a browser is closed or no longer used. Hover the health badge to see which install is offline and its version. Nothing needs fixing if the browser is simply not in use. To clear it, open that browser so the extension checks in.

A device shows Degraded

Degraded means the device is online but something needs attention. Hover the health badge in the table, or open the device and look at Installs. Common reasons:

  • The desktop agent is offline. The device is Degraded when its macOS or Windows agent has not checked in for 70 minutes while another client on the device has. Check that the agent is running. The reason reads like "1 of 3 installs offline", followed by the agent's reason and version.
  • Missing macOS permissions. The macOS agent needs Accessibility. Also check Full Disk Access, Network Extension and Endpoint Security in System Settings > Privacy & Security, or deploy the PPPC and system extension profiles through MDM.
  • Upload failures or a retry backlog. 3 or more upload failures, or 100 or more events waiting to retry. Usually a network problem; it clears after successful uploads.
  • A collector reporting a problem. The install card lists the affected collectors. On Windows, acl-restrict-failed means the agent could not restrict access to its data folder or a credential file.

A device shows Offline

No check-in for more than 70 minutes. Clients check in about every hour. The device may be off, asleep or off the network, or the client may have been removed. If the device is on and online, treat it as a device that does not appear.

The browser extension is not connected

Open the extension popup and read its status:

Popup statusWhat to do
Sign in to start sending eventsThe extension has no credentials. Re-run the enrollment script for this user, restart the browser, and check again. With MDM, confirm the 3rdparty credential policy was pushed for the right browser. Chrome, Edge and Firefox use different policy paths.
Keys rejected by backendThe project keys changed. Download the enrollment script again and re-run it, or push the updated MDM policy.
Backend unreachableThe browser cannot reach your ANTS Platform host. Check proxies and firewalls. The extension keeps retrying.
Re-enrollment requiredRe-run the enrollment script.
Last send: missing_device_idThe device identity is missing from managed settings, so events are not uploaded. Re-run the enrollment script, or check your MDM configuration profile.
This device was blocked by your organizationAn admin blocked the device. Unblock it under Discover AI > Devices, then re-enroll.
Access was revoked by your organizationThe device's certificate was revoked. Re-run the enrollment script to enroll again.

An extension version below 0.1.18 cannot enroll from the enrollment script. Update the extension. The Devices table flags these versions in amber.

For a managed install, check chrome://extensions, edge://extensions or about:addons. The extension should show "Installed by your administrator".

No data, even though the device is Healthy

  • Use an AI tool. Data appears only after someone uses a tool. Usage usually shows within a few minutes. Some figures are cached for up to about 5 minutes.
  • The tool is not in the registry. Only registry tools and your internal AI tools are detected. Add a private tool as an internal AI tool or nominate a public one.
  • The right client is not installed. Websites need the browser extension. Desktop apps and command-line tools need the desktop agent. Coding agents can also report through OpenTelemetry. Safari is not supported.
  • A collector is switched off. Check the collector settings under Settings > Deployment & Keys > Enroll devices.
  • A command-line run did no work. CLI sessions count only when the run had at least one prompt, tool call or token.

Clients return 401 or stopped reporting

This usually follows a change to keys or authentication:

  • Immediate rotation or Revoke all credentials stops the old keys at once. Every client gets 401 until it has the new keys. Re-run the enrollment script on each device, or push the updated MDM policy. For routine rotation, use graceful rotation, which keeps the old keys working for 7 days. See Project keys.
  • Switching to device certificates refuses every client that has no active certificate. Re-enroll those devices. The Authentication method card shows how many devices still lack a valid certificate, and the Devices table marks them Key refused.
  • device_auth_required from the OpenTelemetry or ingestion endpoints. The project uses device certificates, so the Discover AI project keys are refused there. Send coding-tool data through the desktop agent's relay, or use a project API key from Settings > API Keys. See Project keys in device certificate mode.
  • A revoked or blocked device gets 401 and stops collecting. See Device actions.

Device certificate enrollment fails

SymptomCause and fix
Enrollment fails with 503 and issuer_unavailableYour deployment has no certificate authority configured. Switch back to API keys or contact your ANTS Platform account team.
410 with expired or revokedThe fleet enrollment credential expired (default 24 hours) or was revoked. Download the enrollment script again, or generate a new credential.
410 with device_already_registeredThis device already redeemed the credential. Run the uninstall script from Enroll devices > This machine to release it, then enroll again.
403 with device_blockedThe device is blocked. Unblock it under Discover AI > Devices.
403 with hardware_key_requiredRequire hardware-backed keys is on and the device reported a software key. Enroll from a device with a TPM or Secure Enclave, or turn the setting off. macOS agent 0.1.33 and Windows agent 0.1.24 keep retrying instead of treating it as a block. See Hardware-backed keys.
403 with key_downgrade_refused on renewalThe device is on a hardware key and asked to renew on a software key. This is always refused.
426 with agent_update_requiredThe agent is older than the minimum version your deployment requires for fleet enrollment. Update the agent.
429Too many enrollments for the project in the last hour. Wait and retry.
A fleet-only device enrolls against the wrong hostThe device has a fleet credential and no project keys, and its agent ignores the managed API host. Update to macOS agent 0.1.33 or Windows agent 0.1.24.

If a revoke or block shows "the cache could not be cleared", the device may keep working for a few minutes. Check the device's certificate status after that.

Chip, AI laptop or Local AI shows Unknown

On the AI laptops tab of Devices:

  • The agent is too old. Chip, memory, neural processor and local AI are reported from macOS agent 0.1.33 and Windows agent 0.1.24. Browser extensions never report them.
  • A Windows PC without a neural processor. The Windows agent reports only when it finds one, so such a PC shows Unknown under AI laptop, not Not an AI laptop.
  • Local AI is Unknown. The agent has not reported local AI yet, for example on the first check-in after the agent starts, or the Tool Registry it has loaded gives no local address for any local AI app.
  • Local AI is None, but an app is installed. An app that is not running, or LM Studio with its local server turned off, does not answer, so it is not listed.
  • Local AI requests stay at zero. Only Ollama's request log is counted, each device sends the last 14 days, and a log or folder that is a link (for example a moved and linked .ollama folder) is skipped.

Unenroll is missing on a Mac

From macOS agent 0.1.33, a Mac whose keys or fleet credential came from MDM or the enrollment script cannot be unenrolled from the agent's menu or with ants-agent-cli unenroll unless the managed setting allowUnenroll is true. The command line prints "Unenroll is turned off on this Mac by your administrator. Ask your IT team to remove the device." Add allowUnenroll to the profile, or use the uninstall script. See Unenrolling a device.

The MCP Servers tab is empty

MCP servers are reported only by the macOS agent, and only from Claude Code, Claude Desktop, GitHub Copilot and Gemini CLI. Windows devices and older macOS agents do not report them. See MCP Server Inventory.

Direct Provider Traffic is empty

MessageWhat to do
No gateway in useThe project has no live gateway key. Create a Budget AI key for the project. Only traffic after the oldest live key was created is reported.
No network flow dataNo device reported any network flow in the period, so the empty list is not an all-clear. Check that the macOS agent's Network Extension is installed and allowed. Windows devices and browsers do not report network flows.
No direct provider trafficNo macOS device connected straight to an AI provider API in the period. macOS agents older than 0.1.32 do not record provider API traffic.

See Direct Provider Traffic.

A collector I switched off is still collecting

Collector settings reach a desktop agent at its next check-in, about every hour, and only macOS agent 0.1.30 or Windows agent 0.1.21 and later follow them at check-in. Check the rollout line under the collectors in Settings > Deployment & Keys > Enroll devices, and the device's install card under Discover AI > Devices. Update older agents, or re-run a newly downloaded enrollment script or MDM profile on them. See Collector settings.

The access policy does not block or warn

Check the access policy and the client:

  • Nothing is live. The section header must show Live: version N. Changes not live yet means your last edits are only a draft; select Make live.
  • The Block switch is off. Block is then delivered as Warn. Turn on Block at the top of the section.
  • The rule is in Test mode or turned off. Test rules only record what they would have done.
  • An earlier rule matches first. Use Try it out with the person's email, the tool and the device: it lists each rule as matched, off or no match, with the sections that failed.
  • The client cannot enforce yet. Blocking and the reason page need the next browser extension release (after 0.1.30). Macs need macOS agent 0.1.34 or later. Released extensions show only the Warn banner. Windows does not enforce. The Rollout panel under Advanced counts clients on Older software.
  • The device has not picked up the version. It shows under Waiting in Rollout. A browser refreshes about every 10 minutes, sooner while it is sending activity. A Mac fetches the policy about every 2 minutes.
  • A rule for people or devices does not apply. Those rules need the client to sign in with a device certificate. Group, department and job title rules also need the person in your directory. Try it out says "Not in directory. Only rules for everyone apply." when the email is not found.
  • The browser is in a private window, or the extension is signed out. Neither is covered.
  • On a Mac, check that the Network Extension permission is granted, the Network activity collector is on, and the tool has hosts listed for macOS in the registry. Shared AI provider API hosts are never blocked. See On a Mac.

Make live is refused

MessageWhat to do
"Block is switched off for this organization."Turn on Block, or set the Block rules to Test mode and change Block defaults.
"The live policy changed while you were working." or "Someone else published at the same time."Reload the page and try again.
"The draft changed while you were publishing."Review the draft and publish again.

A person sees no Request access button

The block page and the reason page show Request access only when the access policy, or the rule that matched, has a Request link. Set it under Messages, for example with Use ANTS request page.

A reason does not appear on the tool panel

Reasons are stored only from clients that sign in with a device certificate, and the Access card needs organization-level Configure read access. See Access policy events and reasons.

Departments show as "No department"

Department comes from the device (written by the enrollment script) or from a directory. Connect Okta or Entra ID under Organization Settings > Integrations. See Directory Integration.

AI tokens shows "No OTEL"

No token data was recorded in the period. Token counts come from coding-agent telemetry and from the desktop agent's reading of supported tools' local session files. See Coding-Agent Telemetry.

Coding-agent telemetry is not arriving

See Coding-Agent Telemetry > Troubleshooting.

Still stuck?

ℹ

Note the device's health reasons and recent check-ins from Discover AI > Devices, your deployment method (self-serve or MDM, and which platform), and the extension popup status, then contact your ANTS Platform account team.

© 2026 ANTS Platform, Inc.Docs v1.0 · Last updated June 2026