Error: "Uniqueness of index CODE is violated" is shown when an action requesting access code is performed.

Error: "Uniqueness of index CODE is violated" is shown when an action requesting access code is performed.

PROBLEM

Error: "Uniqueness of index CODE is violated" is shown when an action requesting access code is performed.


ENVIRONMENT

Shireburn Inventory Management System

SOLUTION

Perform a re-index and try again

CAUSE

This normally happens if the user has created something before with the same code, deleted it, and recreated it again. A re-index would pack and refreshes the data.