Back to home

Support

Having trouble? Start with the common issues below. If you're still stuck, reach out.

Common issues

Proxy requests return 401

Make sure you are sending the correct TokenGuard key in the x-tokenguard-key header. The key is shown once when you create a project — if lost, regenerate it from the project detail page.

Proxy requests return 429

Your project has hit its daily or monthly budget cap. Either raise the budget in the project settings or wait for the next UTC day/month rollover.

Dashboard shows no data

Data appears as soon as a request flows through the proxy. Send one test request with your TokenGuard key and refresh the dashboard. Also confirm the backend is reachable at the configured API base URL.

OpenAI key not working

Each project can store its own OpenAI key. If the project key field is blank, the backend falls back to the global OPENAI_API_KEY env var. Make sure at least one is set.

Stripe billing help

API integration help

TokenGuard is a drop-in OpenAI proxy. Change one line in your app:

// Before
const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });

// After
const openai = new OpenAI({
  apiKey: "tg_live_YOUR_TOKENGUARD_KEY",
  baseURL: "https://your-domain.com/proxy/openai/v1",
});

The payload format is identical to the OpenAI SDK. No other changes needed.

Send diagnostic info

When contacting support, sending diagnostic info helps us resolve your issue faster.

Get support updates

We'll email you when we add self-serve diagnostics, status pages, and other support tools.