PDR1511S

errorCorrection is not a valid error correction level for the <AZTEC> tag mode encodeMode . It must be in the range lowValue to highValue.

What happened: You specified value outside the valid range for the specified mode.

What to do: Specify the errorCorrection value as a number within the specified range.