Skip to content

Sts  >  Errors  >  InvalidIdentityTokenException

InvalidIdentityTokenException

Error Class

InvalidIdentityTokenException dataclass

Bases: ServiceError

The web identity token that was passed could not be validated by Amazon Web Services. Get a new identity token from the identity provider and then retry the request.

Attributes

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