> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/troubleshooting/licence-or-serial-number-lost.md).

# The error light flashes fast, or the serial number shows ?????

The licence or serial number is corrupted. Recover it with QTech Workbench.

If the RTU is started (powered up) but displays a fast continuously flashing code on the RTU Error (ER) then this indicates that the unit has lost its licence. If the serial number is displayed as `?????` in Workbench, this is an indication that the serial number may have been corrupted in a previously functioning device. If a backup cannot be found or is itself corrupted the invalid licence fault will be displayed on the ER led and a default licence will be created with no features enabled, making the unit run basic functions but it will not be capable of communicating with Datran and it will throw a comms fail error at the base station (Datran) when polled.

{% hint style="info" %}
**Applies to:** XL4 Plus. This describes functionality provided in V7.17 of the RTU firmware and in QTech Workbench. QTech Workbench V2.10 or later is required.
{% endhint %}

The serial number is a 5 digit code that can be viewed in the overview category in Workbench when connected to the RTU. It can also be viewed in the Licensing category. Both the licence and the serial number are stored in non-volatile memory on the device. The serial number can only be programmed in the QTech factory but the licence key can be entered by field technicians.

## Recover the licence and serial number

1. **Restart the RTU.** If the RTU is running V7.17 Firmware or later, then on restart or power up the serial number and Licence is read from non-volatile configuration memory. If either is corrupted the RTU will attempt to recover the values from a backup held on the device.
2. **Use Workbench.** Further attempts can be made to recover the licence and serial by connecting to the device with Workbench. Once connected the **Recover Licence** button on the Licencing Page will be enabled if workbench can discover a backup licence on the RTU. If it can then the licence and serial will be retrieved and can be rewritten back to the RTU.
3. **Try again.** Try restarting the RTU from Workbench and reattempt to recover the licence.
4. **If a licence cannot be recovered** then contact QTech tech support to assist with generating a new licence key but the serial number as printed on the RTU case will be required as well as the features that were previously enabled if known.
5. **If the serial number cannot be recovered** then the unit must be returned to QTech for service and the serial number reprogrammed.

## Fast flashing just after an XL4 upgrade

The licencing system for the Q04 Plus differs to the Q04. It is normal for the license error code to be displayed. It does not indicate a hardware fault but indicates an additional process to follow to update the RTU license. If the ERR LED flashes rapidly this indicates the RTU does not have a valid license. It does not mean the upgrade has failed. Contact QTech support to be issued a licence. Click the Licensing category and Read from Device. Enter the new licence code supplied by QTech. Click Write to Device to update the RTU. Rebooting the RTU will stop the ERR LED flashing. See [Upgrade an XL4 to an XL4 Plus](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/upgrade-xl4-to-xl4-plus.md).

For more on licences, see [Licensing and features](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/licensing-and-features.md).

## Still not working?

Contact QTech tech support. Have the serial number printed on the RTU case, the firmware version, what the ER light shows and what you've tried ready.
