Skip to content

index.Variable.UNAUTHORIZED_FIELD_OR_TYPE

github-actions[bot] edited this page Nov 30, 2026 · 12 revisions

Variable: UNAUTHORIZED_FIELD_OR_TYPE

const UNAUTHORIZED_FIELD_OR_TYPE: "UNAUTHORIZED_FIELD_OR_TYPE" = 'UNAUTHORIZED_FIELD_OR_TYPE';

Defined in: packages/graphql-casl/src/denials.ts:29

The extensions.code a denial carries under onDeny: 'filter'.

Remarks

It is Apollo Router's code for a field its authorization directives removed from a query, so clients and tooling that already handle the router's partial responses handle these without learning a second vocabulary.

API Reference

Clone this wiki locally