Skip to content

Basket checkout event handler error #98

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
LeoCopatti opened this issue Apr 15, 2025 · 0 comments
Open

Basket checkout event handler error #98

LeoCopatti opened this issue Apr 15, 2025 · 0 comments

Comments

@LeoCopatti
Copy link

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant