Skip to content

Bedrock Agentcore  >  Errors  >  UnauthorizedException

UnauthorizedException

Error Class

UnauthorizedException dataclass

Bases: ServiceError

This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access

Attributes

fault class-attribute instance-attribute
fault: Literal['client', 'server'] | None = 'client'