LAWDE Shield · Documentation

Troubleshooting: request and server errors

Exact LAWDE Shield ingest request messages — “Invalid JSON payload”, “Validation failed”, field errors such as “line_number must be a positive integer”, and server errors.

Each message below is quoted exactly as the ingest API returns it. These mostly come up when you call the HTTP API yourself; the agent builds valid requests.

Plain-text copy for AI assistants: /docs/troubleshooting/payloads.md

Messages

Invalid JSON payload

Where: Ingest API response (HTTP 400)

What it means: The body is not a JSON object: empty, cut short, or not JSON at all.

Fix:

  • Send Content-Type: application/json and a JSON object body. In shell scripts, check the quoting around -d.

Validation failed

Where: Ingest API response (HTTP 400, with a details object per field)

What it means: The JSON parsed, but a field is missing or has the wrong type. details names the field; the field messages are below.

Fix:

  • Send every required field: error_class, error_message, stack_trace, file_path and line_number.

error_class is required

Where: Validation failed → details

What it means: A required field is missing or empty. The same message is used for error_message, stack_trace and file_path.

Fix:

  • Send a non-empty string for the field. If you have no stack, send the message as stack_trace.

line_number must be a positive integer

Where: Validation failed → details

What it means: line_number is missing, 0, negative or not a whole number.

Fix:

  • Send the crash line as a whole number from 1 up.

app_id must be a valid UUID

Where: Validation failed → details

What it means: app_id is set but is not an app ID. App IDs are UUIDs.

Fix:

  • Copy the app ID from Apps, or leave app_id out.

Failed to persist error log

Where: Ingest API response (HTTP 500)

What it means: LAWDE could not store the event. This is on LAWDE’s side, not in your request.

Fix:

  • Retry later. If it continues, check Status or email support@lawde.net.

Internal Sentinel Ingestion Error

Where: Ingest API response (HTTP 500)

What it means: An unexpected error on LAWDE’s side.

Fix:

  • Retry later. If it continues, check Status or email support@lawde.net.