Informix Error -1824: Message cannot be found.
Cause and resolution
Message cannot be found.
The server user-defined routine has been executed, but the message text cannot be found. Check the user-defined routine to make sure all SQLSTATES returned by the server have a corresponding message text associated with them.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1824 fires when a server-side user-defined routine executes but the message text for a
SQLSTATE it returned can't be found — per the official guidance, every SQLSTATE a UDR
returns needs a corresponding message text registered for it.
- A UDR returning a
SQLSTATEvalue with no corresponding message text registered, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the user-defined routine to make sure all
SQLSTATEs returned by the server have a corresponding message text associated with them, per the official guidance.
Examples
N/A
No specific triggering statement is documented — review the UDR's SQLSTATE values against
their registered message texts.
Diagnostic Checks
- Identify which
SQLSTATEthe UDR returned, and check whether a corresponding message text is registered for it.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -1824 in this set yet.
A UDR returned a SQLSTATE with no corresponding registered message text — check the UDR's
SQLSTATE/message-text mappings.