Informix Error -26322: API error: File not found.
Cause and resolution
API error: File not found.
The message.txt or config.txt files cannot be found. Confirm that they exist.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26322 fires when message.txt or config.txt can't be found — per the official
guidance.
message.txt/config.txtdoesn't exist at the expected location, per the official guidance — the direct, only cause.
Solutions / Resolution
- Confirm the files exist, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a missing message.txt/config.txt.
Diagnostic Checks
- Check for
message.txt/config.txtin theANSAPIpath (or current directory), and recreate/recopy as needed.
Related Errors / Related Topics
- -26318 — "API error: Invalid message file." A related
message.txterror, on the file being invalid rather than missing. - -26201 — "API error: Cannot find message file." The earlier, more specific instance
of this error for
message.txtalone. - -26206 — "API error: Cannot find configuration file." The earlier, more specific
instance of this error for
config.txtalone.
message.txt/config.txt couldn't be found — confirm the files exist at the expected
location.