Informix Error -361
-361 Column size too large.
This internal error reflects a communications problem between the database server and the application. You should not see this error. If the error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-361 is explicitly documented as an internal error reflecting a communications problem between the database server and the client application, rather than an ordinary SQL-level mistake a developer would trigger through normal query writing. The official guidance is direct: this shouldn't normally occur in practice.
- A client/driver-level communication protocol mismatch or bug, where the size information exchanged between the application and server becomes corrupted or misinterpreted.
- A driver or client library bug, particularly in older or less common client libraries, miscalculating or mis-encoding a column size value sent to the server.
- Network-level corruption affecting the data exchanged between client and server in rare cases.
Solutions / Resolution
- Don't expect to encounter this under normal usage, per the official guidance — this is an internal-level error, not a query-design issue to fix in SQL.
- If it recurs, document the exact circumstances (client driver and version, statement being executed, connection details) as thoroughly as possible.
- Contact IBM Informix Technical Support with that documentation, per the official guidance, rather than attempting to work around it at the application level.
- Check for a client driver/library update if the error recurs consistently with a specific client, since a driver bug is a plausible root cause.
Examples
Documenting the circumstances for a support case
- Client driver and version in use
- Exact statement being executed
- Server version
- Frequency: one-off or reproducible?
- Any other errors or anomalies around the same time
Diagnostic Checks
- Confirm whether the error is a one-off or reproducible with a specific client driver/version combination.
- Check for available updates to the client driver/library in use.
Related Errors / Related Topics
- -306 — "Subscript out of range." An unrelated, ordinary application-level size/bounds
error, useful as a contrast —
-361is explicitly an internal/communications-level issue instead.
This is documented as an internal error, not a query-writing mistake — if it recurs, gather detailed reproduction information and escalate to IBM Informix Technical Support rather than searching for a SQL-level fix.