Informix Error -26250: API error: Invalid query name.
Cause and resolution
API error: Invalid query name.
This message indicates an internal error. Exit DataExtract and retry the option.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26250 fires when a DataExtract API call references a query name that isn't valid — per the official guidance. This is an internal-error condition.
- The query name passed to the DataExtract API is invalid or unrecognized, per the official guidance — the direct, only cause.
Note: this exact official text ("API error: Invalid query name.") is also documented at -26313. As with other duplicated official titles encountered in this range (e.g. -26270/-26311, -26280/-26331), both codes are transcribed and flagged rather than merged, since the addenda are per-code and the official catalogue lists them separately.
Solutions / Resolution
- Exit the application and retry the operation, per the official guidance.
- If the error recurs, contact IBM technical support with details of the operation being performed, per the official guidance — this is classified as an internal error.
Examples
N/A
No specific triggering statement is documented beyond an internal DataExtract API invalid-query-name condition.
Diagnostic Checks
- Retry the operation; if -26250 recurs, gather the exact API call sequence and escalate to IBM technical support.
Related Errors / Related Topics
- -26313 — "API error: Invalid query name." Identical official title; both codes are transcribed faithfully as documented, and this duplication is flagged rather than silently resolved.
A DataExtract API call used an invalid query name — retry, and escalate to IBM support if it recurs.