Each message below is quoted exactly as LAWDE returns it. The agent does not print LAWDE’s reply. To see it, send one test error with cURL (see Getting started) or run npx @lawdeshield/cli init again.
Plain-text copy for AI assistants: /docs/troubleshooting/apps.md
Messages
This API key is for another app. Use that app’s ID, or a key for this app.
Where: Ingest API response (HTTP 403) · Code: APP_MISMATCH
What it means: The key belongs to one app (keys made by npx @lawdeshield/cli init browser sign-in always do), but the event names a different app in app_id (from LAWDE_APP_ID or the appId option).
Fix:
- Set
LAWDE_APP_ID to the app the key was made for. The CLI writes it next to the key. - Or use a key made for the app you want, for example by running
npx @lawdeshield/cli init in that app and picking it on lawde.net.
app_id does not belong to this workspace.
Where: Ingest API response (HTTP 404) · Code: App not found
What it means: The app_id sent with the event is not an app in the key’s workspace. Often the ID comes from another workspace, or the app was deleted.
Fix:
- Copy the app ID from the app’s page on Apps, or remove
LAWDE_APP_ID so the event goes to the key’s own app (or, for a workspace-wide key, the first active app).
No apps configured for this workspace. Create an app before ingesting.
Where: Ingest API response (HTTP 404) · Code: App not found
What it means: The workspace has no apps, so the event has nowhere to go.
Fix:
- Create an app on Apps, then send the error again.
App is dormant due to workspace plan limits. Upgrade your plan or activate this app in Settings.
Where: Ingest API response (HTTP 403) · Code: APP_DORMANT
What it means: The workspace has more apps than its plan allows, and this app is one of the paused ones.
Fix:
- Activate the app in Settings (pausing another if needed), or move to a plan with more apps: Pricing.