Search this page for the message you see (Ctrl+F or ⌘F). Each message is quoted exactly as LAWDE returns or prints it, with what it means and how to fix it.
Plain-text copy for AI assistants: /docs/troubleshooting.md
Loading the latest verified data without interrupting your session.
LAWDE Shield · Documentation
Find a LAWDE Shield error message and its fix: API keys, apps, rate limits and quotas, ingest requests, npx @lawdeshield/cli init and the @lawdeshield/agent SDK. Every message is quoted exactly.
Search this page for the message you see (Ctrl+F or ⌘F). Each message is quoted exactly as LAWDE returns or prints it, with what it means and how to fix it.
Plain-text copy for AI assistants: /docs/troubleshooting.md
The agent does not print LAWDE’s reply. Send one test error with cURL using your key (see Getting started), or run npx @lawdeshield/cli init again: it prints ✓ only when LAWDE confirms it stored the error, and ✗ with the reason otherwise.
Missing, invalid, revoked or dormant keys, and keys without ingest permission. All api keys messages.
Missing API key. Provide x-lawde-api-key or Authorization: Bearer <key>.Invalid or revoked API key.API key is dormant due to workspace plan limits. Upgrade your plan or activate this key in Settings.This API key does not have ingest permission.Warning: this does not look like a LAWDE key (they start with lawde_). Continuing; the test error will tell.An app-scoped key used for another app, unknown app IDs, and paused apps. All apps messages.
Burst rate limits, per-key limits, the workspace quota, billing holds and metering. All limits and quotas messages.
Invalid JSON, missing or wrong fields, and errors on LAWDE’s side. All requests messages.
Browser sign-in codes, the approval page, project detection and the test error. All cli messages.
Browser sign-in did not finish: the code expired (10 minutes). Run npx @lawdeshield/cli init again.Browser sign-in did not finish: the request was denied on lawde.net.Browser sign-in did not finish: lost contact with <url>.Browser sign-in did not finish: could not reach <url> (<error>).Too many sign-in codes from this network. Try again in a few minutes.Browser sign-in is not available right now. Paste a key instead (--paste).Unknown code. Run npx @lawdeshield/cli init again.This code was already used.This code cannot be used. Run npx @lawdeshield/cli init again.This code was not found, was already used, or expired. Run npx @lawdeshield/cli init again.Only people who can manage API keys in this workspace can approve.Pick the app this key is for.That app is paused by your plan limits. Activate it in Settings first.Your plan allows <limit> active keys. Choose one to replace.No package.json in <folder>. Run this in your app's folder, or pass --cwd.Could not tell which framework this is (looked for Next.js, Express, Medusa v2 or a Node entry file). Run it in your app folder or pass --cwd <folder>; for a Node server, pass --entry <file>.Several packages found. Run again with --cwd <package folder>.Could not find your server entry file. Run again with --entry <file>, or create lawde.js yourself:No API key. Pass --key <key> or set LAWDE_API_KEY.--app must be an app ID (a UUID). Find it on the app page in the dashboard.<install command> failed (exit <code>). Nothing else was changed.✗ LAWDE did not store the test error: <reason>the API key was rejected (<message>).a limit was reached (<message>).LAWDE answered without confirming the error was stored.✗ No API key, so no test error was sent.Startup warnings, a missing key, and why nothing arrives. All agent sdk messages.
[LawdeAgent] apiKey is required](/docs/troubleshooting/agent#apikey-required)[LAWDE] LAWDE_API_KEY missing — live crash capture disabled](/docs/troubleshooting/agent#key-missing-next)[LAWDE] LAWDE_API_KEY missing — crash capture disabled](/docs/troubleshooting/agent#key-missing-medusa)[LawdeAgent] captureException failed](/docs/troubleshooting/agent#capture-failed-debug)