Informix Error -26320: API error: Error while reading file.
Cause and resolution
API error: Error while reading file.
This message indicates an internal error. Exit DataExtract and retry the option.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26320 fires as an internal DataExtract error — per the official guidance, with no further named detail.
- An internal error while reading a file, 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
- -26321 — "API error: Not enough memory to read file." The same class of internal file-read error, specifically a memory-allocation failure.
An internal DataExtract error occurred while reading a file — exit and retry.