Skip to content
Inferect
DocsOperate

Troubleshooting

The first three things to check before you assume something's actually broken.

4 min read

Start here

  • GET /livez and /readyz — is the service up, and can it reach the database?
  • GET /v1/providers/status — is the provider you're routing to actually healthy right now?
  • POST /v1/routing/explain with your request body — see exactly which candidates were considered, and why one won or lost.
  • GET /v1/billing/entitlements — a 403 or 429 is often a plan boundary, not an outage.

Common issues

SymptomLikely causeCheck
401 on /v1/chat/completionsAPI key missing or revokedDashboard → API Keys
Every request lands on the same providerRouting policy pinned, or only one healthy provider exists/v1/policies and /v1/providers/status
No failover on a provider errorThe failure was non-retryable, or occurred after a stream had already committedSee Failover, precisely in AI & Routing
Cache never hitsSemantic threshold too strict, or caching disabled for the orgDashboard → Cache
429s under normal loadPlan quota reached/v1/billing/usage and /v1/billing/entitlements

"Cannot find module for page" on Windows

Environmental, not a bug in the code

An occasional Next.js production-build failure on Windows, caused by the App Router's catch-all route interacting with standalone output and webpack memory optimizations on Windows filesystems specifically. Doesn't reproduce on Linux, CI, or Vercel. If it hits you locally: delete .next and rebuild, or just develop against next dev and let CI own production builds.

Still stuck

Reach the team — see Contact on Business & Pricing — with the request ID from the response headers and the output of /v1/routing/explain for the failing request. That's usually enough to diagnose it in one round trip.