splitch

DocsAPIINSUFFICIENT_SCOPES.md

INSUFFICIENT_SCOPES

HTTP status
403
Details payload
{ requiredScopes: string[], heldScopes: string[] }

Cause

The credential is valid but does not carry the scopes this operation requires.

Fix

Compare details.requiredScopes with details.heldScopes and use a credential that holds the difference. A Client Key holds only evaluate by construction, so control-plane operations need an API Key.

Related codes