Skip to content

Handle this event FileLineTransactionDispatchFailedEvent #1954

Closed

Description

@StuartFerguson

18/09/2026 13:25:07.9157 | Error |Correlation ID: 7264ee08-5879-4fec-9ded-b92e9323c81f| .lambda_method58 | An unhandled exception has occurred while executing the request. Url: http://localhost:5002/api/domainevents | System.Exception | KeyNotFoundException The given key 'FileLineTransactionDispatchFailedEvent' was not present in the dictionary. Void ThrowKeyNotFoundExceptionT
18/09/2026 13:25:07.9157 | Warn |Correlation ID: 7264ee08-5879-4fec-9ded-b92e9323c81f| .lambda_method58 | Request: Method: POST Url: http://localhost:5002/api/domainevents Headers: Host=localhost:5002, Content-Type=application/json, Content-Length=302, eventType=FileLineTransactionDispatchFailedEvent, subscriptionId=Main, X-Catchup-Subscription-Id=$idx-ce-FileAggregate_Transaction Processor_Main, X-Catchup-Meta-$traceId=bc8985ca74cd8a66acf46c4e258785d2, X-Catchup-Meta-$spanId=68aa3462493cf9c9 Body: {"fileId":"fc9c7800-1c25-22c7-0d34-c89e19047014","estateId":"435613ac-a468-47a3-ac4f-649d89764c22","merchantId":"ab1c99fb-1c6c-4694-9a32-b71be5d1da33","lineNumber":6,"transactionNumber":30,"failureType":"SendFailure","attemptedAt":"2026-09-17 08:00:25","EventId":"0c21f237-e39c-40a8-bfb5-a7a98dce2091"} |
18/09/2026 13:25:07.9157 | Warn |Correlation ID: 7264ee08-5879-4fec-9ded-b92e9323c81f| .lambda_method58 | Response: Status Code: 500 Headers: Content-Type=application/json Body: {
"message": "Unexpected error"
} |
18/09/2026 13:25:07.9157 | Info |Correlation ID: 7264ee08-5879-4fec-9ded-b92e9323c81f| .lambda_method59 | 500 Receiving from ::1 => POST localhost:5002/api/domainevents Duration: 2ms |

Also in the failure case is there a way that a more useful response can be returned to the caller

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions