Informix Error -32506: Bad session label format.
Cause and resolution
Bad session label format.
The argument to the SET SESSION LEVEL statement was not a valid sensitivity label.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-32506 fires when SET SESSION LEVEL's argument isn't a valid sensitivity label — per
the official guidance.
- The
SET SESSION LEVELargument isn't a valid sensitivity label, per the official guidance — the direct, only cause.
Solutions / Resolution
- Supply a correctly formatted sensitivity label to
SET SESSION LEVEL, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a malformed sensitivity label.
Diagnostic Checks
- Check the label value passed to
SET SESSION LEVELagainst the documented sensitivity-label format.
Related Errors / Related Topics
- -32505 — "Cannot set session level." The general
SET SESSION LEVELfailure this is a specific case of, for a malformed label argument.
SET SESSION LEVEL's argument wasn't a valid sensitivity label — check its format.