Skip to content

duplicate key value violates unique constraint "IX_ItemValues_Type_Value" #19

@chadouming

Description

@chadouming

My logs are currently getting spammed with the following error:

2025-11-27 17:04:15.795 EST [3755482] ERROR: duplicate key value violates unique constraint "IX_ItemValues_Type_Value"
2025-11-27 17:04:15.795 EST [3755482] DETAIL: Key ("Type", "Value")=(6, "name of item") already exists.
2025-11-27 17:04:15.795 EST [3755482] STATEMENT: INSERT INTO "ItemValues" ("ItemValueId", "CleanValue", "Type", "Value")
VALUES ($1, $2, $3, $4)

The constraint is an index in the ItemValue table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions