Skip to content

Failed to process the event type StatementCreatedEvent #1511

@StuartFerguson

Description

@StuartFerguson

21/02/2026 08:34:19.8509 | Error |Correlation ID: 2c0de804-0b5b-4c4f-8ab8-3b12ff366c44| Shared.EventStore.SubscriptionWorker.PersistentSubscription.EventAppeared | Failed to process the event type StatementCreatedEvent {"merchantStatementId":"64eb4e63-41e6-368f-a075-f36cc05698b5","estateId":"435613ac-a468-47a3-ac4f-649d89764c22","merchantId":"af4d7c7c-9b8d-4e58-a12a-28d3e0b89df6","statementDate":"2026-03-01T00:00:00"} Result was One or more event handlers have failed. Error Messages [Unique constraint violation
Violation of PRIMARY KEY constraint 'PK_statementheader'. Cannot insert duplicate key in object 'dbo.statementheader'. The duplicate key value is (af4d7c7c-9b8d-4e58-a12a-28d3e0b89df6, 64eb4e63-41e6-368f-a075-f36cc05698b5).] | System.Exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBugs and error-prone code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions