Dashboard Troubleshooting

Symptom → cause → fix. For SDK-side problems (data not arriving at all), see SDK Troubleshooting.


Start here: the three-check rule

Before investigating anything, check these in order. They explain the large majority of "the dashboard is broken" reports:

  1. Which project is selected? The project switcher at the top of the sidebar scopes almost every page. Wrong project = empty page.
  2. What's the time range? Too narrow a window looks identical to no data.
  3. Are filters applied? Filters persist as you navigate. Clear them and look again.

No data

Symptom Likely cause Fix
Every page is empty Wrong project selected Switch projects
Analytics empty, Tracing has data Time range too narrow, or the range predates your data Widen the range
Traces exist but LLM analytics show zero Spans aren't LLM spans — e.g. only custom @trace functions Confirm your provider library is auto-instrumented
Agent analytics empty, Tracing populated Spans lack agent roles Add @trace(role="agent" / "agent step" / "tool") — guide
Nothing anywhere, ever Telemetry isn't reaching the server SDK Troubleshooting
Data appears in a different project The API key belongs to that project Generate a key with the right project selected

Numbers look wrong

Symptom Cause Fix
Cost shows 0 for some models The model is missing from the SDK's pricing table Supply your own with pricing_json= — Configuration
Cost doesn't match the provider invoice TrailAI estimates from a public price list; it can't know your discounts Use it for relative comparison; reconcile absolutes with your provider
Every chart groups under default application_name and environment weren't set Set them in trail.init()
Request count lower than expected Batched spans still in flight, or dropped on shutdown Ensure a clean shutdown; try disable_batch=True when debugging
Token counts missing on some spans The provider didn't return usage (common with streaming) Expected for some providers/configurations

Pages and navigation

Symptom Cause Fix
Only "Getting Started" is in the sidebar You have no organization yet Complete the onboarding wizard
Sidebar reopens expanded after reload Older behaviour; the collapsed state is now stored in a sidebar_state cookie Ensure cookies aren't blocked for the dashboard domain
Trace detail page won't scroll Older layout issue, since fixed Refresh; hard-refresh to clear a cached bundle
Deep link to a trace 404s The trace is in a project you don't have access to, or has aged out Ask for project access; check retention

Actions that fail

Symptom Cause Fix
"Invalid role" when adding a member An unrecognised role value was submitted Pick from the dropdown; only Admin and Member are valid — guide
Delete organization spins for a long time The cascade deletes every project's data Give it time on large orgs. If it truly hangs, reload and verify before retrying
Can't generate an API key Insufficient permission Organization Admins manage keys — roles
Secret key not shown after generation It is displayed once only Generate a new pair; revoke the old — API Keys
Prompt save fails Duplicate name, or an empty required field Use a unique name; check every message has content
Guardrail won't save Missing required field, or an unsupported combination Topic Restriction requires LLM-based detection — guide
OpenGround requests fail Provider credentials missing or invalid Add the key to the Vault and bind it in Models
Vault secret copy does nothing Clipboard access needs a secure context Use HTTPS, or localhost

Auth and sessions

Symptom Cause Fix
No confirmation email SendGrid not configured, or the mail was filtered Check spam; ask an admin to configure SendGrid or activate manually
Logged out unexpectedly Session expired, or NEXTAUTH_SECRET changed Log in again; on self-hosted, keep the secret stable
Login loops back to the login page NEXTAUTH_URL doesn't match the URL you're using Set it to your actual dashboard URL
Google sign-in fails Client ID missing, or the redirect URI isn't whitelisted Local development
Password change rejected Current password wrong, or you registered via Google Google accounts have no TrailAI password

Performance

Symptom Cause Fix
Analytics slow to load Very wide time range over high volume Narrow the range
Trace list slow Large result set Add filters; reduce page size
Trace detail slow on huge traces Hundreds of spans The tree is virtualized, but very large traces are still heavy — consider whether your instrumentation is too granular
Dashboard sluggish with auto-refresh on Refreshing too frequently Increase the interval, or turn it off

Still stuck?

Gather this before asking for help — it turns a long thread into a short one:

  1. What you did — the exact page, filters, and time range.
  2. What you expected and what you saw.
  3. Project and organization names (not keys).
  4. A trace ID or deep link, if the issue concerns specific data.
  5. Browser console errors — F12 → Console.
  6. Whether it reproduces in a different browser or a private window (rules out cache and extensions).

Never include API keys, secret values, or real user content in a support request.