Skip to content
TroubleshootingTroubleshooting

Troubleshooting

Symptom → cause → fix.

SymptomLikely causeFix
An error with a [code · req_…] tail in the textthe code in the tail and error.action name the cause and the next stepDo what action says; if that does not help, send the tail to support. Full list: Error codes.
Claude Code is "silent" or unreliableoutdated CLI, unapproved API key, or incorrect variablesUpdate Claude Code, set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN, run regular claude, and approve the key.
Asks to log in to Anthropicthe CLI cannot see the API key or lacks one-time approvalCheck both variables, restart regular claude, and approve the API key. Use --bare only for minimal diagnostics.
export doesn't work in PowerShellthat's a Linux commandIn PowerShell: $env:ANTHROPIC_AUTH_TOKEN = "gd-…"
401 on every requestkey invalid/revokedCopy the key from the bot again.
402 / no fundsthe key's credit is exhaustedCheck the dashboard and top up the active key; issue a new one only if it was revoked.
404 model not foundtypo in the model idSee Models.
429 with *_spend_limitthe key reached its hourly/daily spend capChange the limit under Manage API key or wait for the rolling window to free up.

Diagnostic request

bash
curl -i https://api.guardrelay.ai/v1/models \
  -H "Authorization: Bearer $GUARD_API_KEY"

If it returns 200 and a list of models — the key and network are fine, look for the problem in the body of the specific request. Still stuck — message support with the [code · req_…] tail from the error text @Guard_AI_support.

Documentation sections

On this page