Skip to content

Contract Duplicate Handling #885

@StuartFerguson

Description

@StuartFerguson

26/08/2025 08:43:54.9203 | Error |Correlation ID: a5cb6e37-c706-42e7-9353-90be49513913| Shared.EventStore.SubscriptionWorker.PersistentSubscription.EventAppeared | Failed to process the event type ContractCreatedEvent {"contractId":"b5c73a70-d5ca-4592-afc6-477eff11f310","estateId":"435613ac-a468-47a3-ac4f-649d89764c22","operatorId":"d7a85905-bc29-45d1-8fd5-f1a031462d47","description":"PataPawa PostPay Contract"} Result was One or more event handlers have failed. Error Messages [Unique constraint violation
Violation of PRIMARY KEY constraint 'PK_contract'. Cannot insert duplicate key in object 'dbo.contract'. The duplicate key value is (435613ac-a468-47a3-ac4f-649d89764c22, d7a85905-bc29-45d1-8fd5-f1a031462d47, b5c73a70-d5ca-4592-afc6-477eff11f310).] | System.Exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBugs and error-prone code

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions