Troubleshooting

Common issues and fixes

← Admin Panel

LRS returns HTTP 401 Unauthorized

Most common issue. Staging credentials expired or password copied incorrectly.

  1. Login to integration.nelc.gov.sa via Nafath
  2. Regenerate Staging keys and download JSON
  3. Copy username and password exactly — no extra spaces
  4. Update in LRS Endpoints → Edit staging or .env
  5. Run Check health on staging

Health: Not configured

Endpoint missing URL, username, or password. Fill all three in the endpoint editor or .env, then re-check health.

Health: Unhealthy (timeout)

Outbox stuck in RETRY

Outbox DEAD status

HTTP 400 or 422 — invalid xAPI payload. Common causes:

Review error column in Outbox table and fix builder/config — dead rows are not auto-retried.

Quarantine learners

Blackboard user profile missing valid 10-digit National ID in the configured field (BB_NATIONAL_ID_FIELD, default studentId).

Blackboard test fails

Unauthorized in admin UI

Enter correct ADMIN_TOKEN in top bar. If ADMIN_TOKEN=change-me-in-env, auth is disabled (development only).

Worker not running

Portal shows fewer than 30/30 approved

See NELC Portal Validation — all 7 verbs × correct learner/course combinations must reach staging LRS successfully.