Informix Error -12151: General Table Manager: Duplicate keys not allowed.
Cause and resolution
General Table Manager: Duplicate keys not allowed.
Table entries with the same key are not allowed.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12151 fires when a General Table Manager (GTM) table entry is inserted with a key that already exists — per the official guidance.
- A table entry with the same key as an existing one, per the official guidance — the direct, only cause; duplicate keys aren't allowed.
Solutions / Resolution
- If this error recurs, note all circumstances and contact IBM Informix Technical Support, per this error family's general pattern — no specific user-facing remedy is documented for this internal condition.
Examples
N/A
No specific triggering statement is documented — this is reported as an internal error.
Diagnostic Checks
- Escalate to IBM Informix Technical Support if the error recurs — this is an internal error with no documented user-actionable cause.
Related Errors / Related Topics
- -12152 — "General Table Manager: Table is full." A related internal GTM insert failure, about the table lacking room rather than a duplicate key.
A GTM table entry was inserted with a key that already exists — an internal condition; report recurrences to IBM Informix Technical Support.