QR code or barcode does not display
Encoding limits and invalid values. Troubleshooting in the DocStudio designer user guide.
Symptom
The QR code or barcode area is empty and the Problems tab shows INVALID_RDT.
Likely causes
- The value is empty or missing.
- A QR value is longer than 213 bytes.
- A barcode value is longer than 80 characters.
- The value does not fit the barcode format: letters in EAN-13, lower case or symbols that Code 39 does not allow, a wrong EAN-13 check digit.
- The size is zero.
Diagnose
- Read the preview under the Value expression: it shows the value that will be encoded.
- Check the format in the Barcode section.
- Use the Problems tab message, which names the element.
Solution
- Provide a value in the sample data or add a fallback.
- Shorten the value, or encode a short identifier and look it up online.
- Use
code128for general text. - For EAN-13 supply 12 digits (the check digit is computed) or 13 with a valid check digit.
- Set a size of at least 15 mm.
Limitation
The barcode text is not printed under the bars, and the QR error correction cannot be changed.