| Description |
This article describes how to diagnose and fix an issue where the user receives a FortiToken license error with code -7566 while importing a FortiToken through the CLI. |
| Scope | FortiGate. |
| Solution |
When trying to import FortiToken from GUI, it shows the following error: 'Internal Server Error'.
It will show the following error while importing it from CLI:
FW-021# exe fortitoken-mobile import 8F026EEE18XXXXXXX
To get further details about the error, run the following debugs while importing/activating the tokens:
diagnose debug application forticldd -1 diagnose fortitoken debug enable
In debugs, the following lines appear:
{"d":{"__type":"SoftToken.ActivationLicenseResponse","__version":"4","serial_number":"FG100FXXXXXXX"
Solution: For licensed tokens, the activation code can be found on the FortiToken Mobile license redemption certificate file, which looks as follows:
While adding the activation code, add hyphens and quotation marks as follows:
exe fortitoken-mobile import "8F02-XXXX-XXXX-XXXX-XXXX"
Related article: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.