Informix Error -26311: API error: Invalid predefined query.
Cause and resolution
API error: Invalid predefined query.
This message indicates an internal error. Exit DataExtract and retry the option.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26311 fires as an internal DataExtract error — per the official guidance, with no further
named detail. The live catalog gives this code the same title/text as -26270.
- An internal error, an invalid predefined query, per the official guidance — the direct, only cause; the source gives no further detail.
Solutions / Resolution
- Exit DataExtract and retry the option, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an internal error.
Diagnostic Checks
- Exit and restart DataExtract, and retry the failing option; escalate if it recurs.
Related Errors / Related Topics
- -26270 — "API error: Invalid predefined query." The live catalog gives this exact same title/text to both codes — a genuine site-side duplication, transcribed faithfully as its own code per this project's established precedent for that pattern.
- -26312 — "API error: Predefined query not implemented." A related predefined-query error, on the query not being implemented rather than being invalid.
- -26313 — "API error: Invalid query name." A related predefined-query error, on the query name specifically rather than the query generally.
An internal DataExtract error occurred — an invalid predefined query; exit and retry.