Skip to content

Lambda  >  Errors  >  ModeNotSupportedException

ModeNotSupportedException

Error Class

ModeNotSupportedException dataclass

Bases: ServiceError

The Lambda function doesn't support the invocation mode requested. For example, calling Invoke with InvocationType=RequestResponse on a function configured for asynchronous-only invocation, or vice versa. For more information about invocation types, see Invoking Lambda functions.

Attributes

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

The exception type.