> ## Documentation Index
> Fetch the complete documentation index at: https://aivision.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Read the relevant procedure and prerequisites before suggesting commands. Cite the section and give an observable check. Treat sample data as illustrative. Report product actions and results only when verified in the user's environment.

# Troubleshooting

> Check installation, collection and queries in order.

## Release or image downloads are rejected

Choose an exact version tag from the [public product Releases](https://github.com/antgroup/ai-vision/releases). Follow the [CLI installation guide](https://aivision.mintlify.site/en/guides/install-cli.md) to check for an archive matching your OS and architecture and a `SHA256SUMS` file in that Release. For a 404, check the tag, asset name, and publication status. If the download works but the image pull fails, check GHCR connectivity and compare the image name and digest with the selected manifest.

## Installation succeeded but no Trace appears

1. Restart the host, enable and trust the hooks/plugins, and run a real new task.
2. Run `aiv agent status <agent>` and inspect registration and credential results separately.
3. Check reachability of the platform, installer and OTLP gateway. Remote machines cannot use the deployment machine's loopback address.
4. Check that the signed-in web account can access the intended Space, and confirm the Space, Agent, data source, and time window.

The web interface uses your account sign-in and requires no separate query Key. CLI queries, including recent-data verification with `aiv agent status`, require an authorized query Key for that Space; see [CLI queries](https://aivision.mintlify.site/en/guides/cli.md). Dry runs are preflight checks. Without a query Key, status cannot verify recent data.

## 401 or 403

401 usually means missing, expired or rejected credentials. Distinguish account sessions, query SpaceKeys and Agent ingest credentials. For a web 401, check sign-in; for a web 403, check Space access. For a CLI query 403, check that the SpaceKey belongs to the requested Space. Do not pass passwords as command-line arguments.

## Missing prompts, answers or tool content

Check Privacy mode and whether the plugin supports the field. After switching to Full, restart and begin a new session. Old records will not regain filtered content.

## Successful diagnosis but an empty dashboard

First confirm whether diagnosis has run. If you have not checked a record yet, [open your own Trace and select Run diagnosis](https://aivision.mintlify.site/en/guides/diagnosis.md). New deployments do not automatically create ongoing personal jobs by default. For existing runs, check the samples, applicable diagnosers, time window, and storage policy. Runtime signals alone produce no quality score. See [result and empty-list troubleshooting](https://aivision.mintlify.site/en/guides/quality.md).

## Why does Run diagnosis or a specialist test return 403 when I can view the Trace?

Along with permission to run diagnosis, you need the selected Agent to be bound to your current account. A team administrator who can view a colleague's Trace needs a team diagnosis task to run checks at team scope. Confirm the account, space, role, Agent ownership, and subject binding. See [team diagnosis tasks](https://aivision.mintlify.site/en/guides/diagnosis-tasks.md).

## Can I filter a team diagnosis task by pasting a member's email or Agent UUID?

The filter field uses Trace or Span metadata conditions supported by the current source. Omit `WHERE`. A channel selection covers the channel, so ask the maintainer to confirm the member's identity field and value. Run a small manual task and inspect each Trace ID. Until you confirm the scope, select exact Trace IDs under your own Agent and run diagnosis on those records. See [diagnosis task filters](https://aivision.mintlify.site/en/guides/diagnosis-tasks.md#limit-a-class-of-executions-with-a-filter) for syntax and access requirements.

## Can I copy the default ports?

Guide ports are defaults. Use `aiv status` and the actual blueprint output. Platform, gateway and client addresses must agree and be reachable.

## Dashboard data exists, but Trace details or quality results are empty

Dashboard events, Sessions, Traces, and diagnosis results are separate records. Open the Trace in Agent traces with the right time range. Retry loading if needed. Once the Trace opens, select **Run diagnosis**, then **View quality results** to check this run's samples, judgments, and failures. For ongoing batches, check diagnosis tasks and execution history. Ordinary batch tasks require a team space. In a personal space, users with execution permission can run diagnosis from their own Trace. If the instance explicitly enables managed tasks, ask a maintainer to check the configuration. See [Traces](https://aivision.mintlify.site/en/guides/traces.md) and [Diagnosis](https://aivision.mintlify.site/en/guides/diagnosis.md).

## Token counts disagree with another view or bill

Align the space, Agent, model, interval, and request set, then check whether input includes cache. Claude Code and Codex use different input semantics. Do not add every card together; see [token accounting](https://aivision.mintlify.site/en/guides/token-usage.md) for formulas and examples.

## Where are model connections, and do they set a default for every feature?

Open **Integrations → Model connections** after selecting the intended space. Connections are shared within that space; each supported feature selects its own connection and retains its own prompts and generation settings. Creating one does not set a platform-wide default, configure your Coding Agent, or become a prerequisite for viewing Traces. An old `/settings?tab=models&spaceId=…` bookmark redirects to the new entry with its space preserved. See [Model connections](https://aivision.mintlify.site/en/guides/model-connections.md).

## Can I create a connection without losing my diagnoser draft?

Use **Manage Connections** beside the model picker in the LLM diagnoser form. It opens over the form and preserves your instructions and settings when closed. A newly created connection is selected in the draft; confirm it and save the diagnoser. See [Configure a custom LLM diagnoser](https://aivision.mintlify.site/en/guides/diagnosers.md#configure-a-custom-llm-diagnoser).

## Why can I view a model connection but not edit or delete it?

Management requires the current space's model-connection management permission, normally held by administrators and developers. A connection referenced by a diagnoser cannot be deleted; inspect its references, change the diagnoser's runtime model, then retry. A failed references lookup does not establish that the connection is unused. See [Model connections](https://aivision.mintlify.site/en/guides/model-connections.md) for roles, references, and change impact.

## A saved LLM diagnoser still cannot run

Saving configuration does not prove model availability. Check the current space's connection, enter a Chat Completions-compatible Base URL, test it, and run a trial on an applicable Trace. If diagnosis fails after a successful test, distinguish rate limits, network access, materials, and response format. A model-service API key and an AI Vision SpaceKey are not interchangeable. See [model connection troubleshooting](https://aivision.mintlify.site/en/guides/model-connections.md#the-test-passes-but-diagnosis-still-fails).

## Trigger now is unavailable for a scheduled task

The current list only triggers enabled manual tasks without an active execution. Scheduled tasks follow their schedule. Use a scoped manual task to validate configuration, and remember that data delay shifts the query window. See [diagnosis tasks](https://aivision.mintlify.site/en/guides/diagnosis-tasks.md).

## Where to start a systematic investigation

Use [missing dashboard or trace data](https://aivision.mintlify.site/en/help/no-data.md), then provide test time, timezone, versions, space, and errors. For result issues see [quality and BadCases](https://aivision.mintlify.site/en/guides/quality.md); for access see [member permissions](https://aivision.mintlify.site/en/guides/members.md).

## My team already has AI Vision. Do I need another deployment?

No. Obtain the team's reachable platform address and account entry point, then select the right space to connect your Agent. Use [Connect your first Agent](https://aivision.mintlify.site/en/web-quickstart.md) for the web path, or install aiv and follow the [CLI quickstart](https://aivision.mintlify.site/en/quickstart.md) to sign in and connect. Consider self-hosting only when no usable platform is available.

## Does seekdb's 2G memory setting cover all of AI Vision?

No. The optional seekdb database defaults to 2 CPUs, 2G memory, a 2G data file, and a 2G log disk. Other platform services, logs, and data growth need additional resources; these numbers do not establish a 2G-memory or 4G-total-disk requirement for the whole platform. See [Docker deployment](https://aivision.mintlify.site/en/deployment/docker.md) for database choices and configurable resource settings.

## The web connection command rejects --installation-token. What should I do?

Check which `aiv` binary the terminal actually runs, then inspect `aiv connect --help` for the parameters used by the web command. If `--installation-token` is missing, follow [CLI installation and capability checks](https://aivision.mintlify.site/en/guides/install-cli.md) to obtain a release with the required capabilities or build the documented source, then check help again; a version number or `dev` tag is insufficient. Do not remove `--agent-uuid` or `--installation-token` to bypass the error: keep the pair together.

## How do I stop collection? Is Privacy mode or revoking a SpaceKey enough?

Neither is enough: Privacy still collects structure and usage, and revoking a query SpaceKey does not disable separate installation credentials. To stop one machine, have a maintainer follow the [plugin collection-stop procedure](https://aivision.mintlify.site/en/integrations/agents.md#stop-collection-or-uninstall), handle the host, background workers, and native hook/plugin registration, then check for new records after the stop time. Removing the server-side Agent disables all its installation credentials and affects other machines sharing it; already-issued short-lived ingest tokens may remain valid until expiry. Stopping new uploads does not delete history; see [Privacy mode](https://aivision.mintlify.site/en/guides/privacy.md) for these separate controls.

## Can I diagnose without a Judge model, and where do rule and semantic results appear?

Yes. Open a Trace, select **Run diagnosis → Saved diagnosers**, and choose a rule diagnoser. Runtime `signal` results appear separately. A saved semantic diagnoser uses the Judge model in its definition. After running, open **View quality results** to check the batch. Independent specialist tests and form debugging preview the selected sample. A formal run creates its corresponding batch. See [Use existing diagnosers first](https://aivision.mintlify.site/en/guides/use-diagnosers.md).

## Does confirming a BadCase or marking a false positive automatically fix, train, or improve the score?

No. Human feedback saves a review state and supporting evidence; it does not modify your Agent, train a model, or automatically change diagnosis rules. Marking a false positive does not change the original `bad` to `good` or automatically recalculate the historical batch score. Read back the saved state using [BadCase review](https://aivision.mintlify.site/en/guides/quality.md), then fix your application or have an authorized maintainer calibrate the rule.

## An old Trace changed from bad to good on recheck. Does that prove the fix?

A changed result is a new judgment on the same execution. To verify an application fix, run a similar task again and collect a new Trace. Run the same diagnoser on it, then compare the two batches' settings and source evidence. If you changed the diagnoser itself, debug the new settings on representative samples and validate those separately. See [Verify a fix with a new Trace](https://aivision.mintlify.site/en/guides/continuous-diagnosis.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.