Skip to content

DynamoDB  >  Errors  >  DuplicateItemException

DuplicateItemException

Error Class

DuplicateItemException dataclass

Bases: ServiceError

There was an attempt to insert an item with the same primary key as an item that already exists in the DynamoDB table.

Attributes

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