When the error 'import fortitoken license error: -7561' appears, it means the FortiToken Mobile license is registered to a different device serial number, preventing the registration on this device. Â  Â To identify the serial number linked to this license, reach out to the Customer Service department. Customer Service will confirm the linked serial number and assist with registration of the license with the correct FortiGate.
Also, if the command above is run together with the debug, the same error code is received in the HA cluster: '-7561':
diagnose debug reset
diagnose debug console timestamp enable
diagnose debug app forticldd -1
diagnose debug app alert -1
diagnose fortitoken debug enable
diagnose debug enable
execute fortitoken-mobile import XXXX-XXXX-XXXX-XXXX-XXXX
2026-08-17 16:18:45 ftm_cfg_import_license[250]:import license XXXX-XXXX-XXXX-XXXX-XXXX
2026-08-17 16:18:46 ftm_fc_comm_connect[78]:ftm TCPS connected.
2026-08-17 16:18:46 __get_json_cluster_obj[194]:vSN: FGZZZZZZZZZZZZZZ, first member SN: FGZZZZZZZZZZZZZZ, has_vsn: 0
2026-08-17 16:18:46 __get_json_cluster_obj[199]:members 0 SN of total count:2: FGYYYYYYYYYYYYYY
2026-08-17 16:18:46 __get_json_cluster_obj[199]:members 1 SN of total count:2: FGZZZZZZZZZZZZZZ
2026-08-17 16:18:46 ftm_fc_comm_send_request[119]:send packet success.
2026-08-17 16:18:46 ftm_fc_comm_recv_response[290]:receive packet success.
2026-08-17 16:18:46 ftm_fc_command[672]:received error from forticare [-7561]
import fortitoken license error: -7561
In a High Availability (HA) cluster, make sure that the contract licenses are applied to the primary unit, not the secondary unit.Â
Related article: Technical Tip: Migrating users and FortiTokens to another FortiGate/FortiAuthenticator |