Errors

DSAR-BE-1003: AUTH_REQUEST_ACCESS_FORBIDDEN

Meaning

The caller is authenticated, but the resolved principal is not allowed to access the requested route or DSAR record.

Probable Causes

  • A subject principal attempted to use a staff-only route.
  • A subject principal tried to read or mutate another subject's request.
  • Principal-kind mapping in your bearer resolver or trusted identity projection is incorrect.

How to Fix

  1. Verify the caller resolves to the correct principalKind for the route.
  2. For subject portals, authenticate the subject in the host app and project the matching subject identity to DSAR.
  3. Ensure the request actually belongs to the subject before calling subject-owned routes.

Retryable

No. Retry only after changing the caller identity, principal kind, or target resource.

Minimal Trigger Example