Skip to content

Basket checkout event handler error #98

@LeoCopatti

Description

@LeoCopatti

I downloaded the project and was trying to test the code, but when I checkout an order, it publishes on the RabbitMQ queue an erro named basket-checkout-event-handler_error, this error contains the following message:

String or binary data would be truncated in table 'OrderDb.dbo.Orders', column 'BillingAddress_ZipCode'. Truncated value: '11111'.
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_OrderItems_Orders_OrderId". The conflict occurred in database "OrderDb", table "dbo.Orders", column 'Id'.
The statement has been terminated.
The statement has been terminated.

What am I doing wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions