Skip to content

SQLSTATE[23000]: Integrity constraint violation #88

@gulshankumar

Description

@gulshankumar

We are observing the below error in exception.log for past few weeks after upgrading the module.

report.CRITICAL: Report ID: webapi-6023ea889e0b5; Message: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (propper_m2_prod.shipperhq_quote_item_detail, CONSTRAINT SHIPPERHQ_QUOTE_ITEM_DETAIL_QUOTE_ITEM_ID_QUOTE_ITEM_ITEM_ID FOREIGN KEY (quote_item_id) REFERENCES quote_item (item_id) ON ), query was: INSERT INTO shipperhq_quote_item_detail (quote_item_id, carrier_group_id, carrier_group) VALUES (?, ?, ?)

I have seen foreign keys were added to an upgrade in your module. Is there any fix available to this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions