Gateway Unauthorized • AI Agent SDK

GatewayUnauthorized: Raised when a caller lacks the scope a gateway method requires.

GatewayUnauthorized

Defined in the protocols module.

AI Agent

Raised when a caller lacks the scope a gateway method requires.

Carries the `method and the required scope so the dispatcher can render a structured, machine-readable denial (matching today's insufficient scope` envelope) without re-deriving either.

Constructor

ParamField str

No description available.

ParamField OperatorScope

No description available.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 7854


Related Documentation