Created on 
    
	
		
		
		‎05-22-2022
	
		
		07:54 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
  Edited on 
    
	
		
		
		‎10-27-2025
	
		
		04:21 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 By  
				
		 Jean-Philippe_P
		
			Jean-Philippe_P
		
		
		
		
		
		
		
		
	
			 
		
| Description | This article describes how to troubleshoot error -7650 (in the CLI) or an Internal server error (in the GUI) seen when activating a new FortiToken Mobile. | 
| Scope | FortiGate v6.x. to v7.6.x. | 
| Solution | When importing the license from the GUI, the error 'Internal server error' may appear. 
 
 diagnose debug console timestamp enable 
 In virtual VDOM mode, FortiGate firewalls must run the debug commands within the VDOM where FortiTokens are being activated: 
 config vdom edit <vdom-name> <----- Name of the VDOM. diagnose debug console timestamp enable 
 The output may resemble the following: 
 2022-05-17 13:41:54 ftm_cfg_import_license[321]:import license abcd-efgh-1234-5678-9101 2022-05-17 13:41:55 ftm_fc_comm_send_request[117]:send packet success. POST /SoftToken/Provisioning.asmx/Process HTTP/1.1 { "d": { "__type": "SoftToken.ActivationLicenseRequest", "__version": "4", "license_activation_code": "abcd-efgh-1234-5678-9101", "serial_number": "FGT60XTK00000000", "__device_version": "7.0", "__device_build": "0304", "__clustered_sns": [ ] } } 2022-05-17 13:42:01 ftm_fc_comm_recv_response[266]:receive packet success. {"d":{"__type":"SoftToken.ActivationLicenseResponse","__version":"4", "serial_number":"FGT60XTK00000000","__device_version":"7.0","__device_build":"0304","__clustered_sns":[],"license_activation_code":"abcd-efgh-1234-5678-9101","license":"","tokens":null,"result":0,"error":{"error_code":100,"error_message":"forticare service unavailable"}}} 2022-05-17 13:42:01 ftm_fc_command[615]:received error from forticare [-7650] 
 'FortiCare service unavailable' suggests that the firewall could not reach the FortiGuard network or that the FortiGuard network was temporarily unavailable. 
 To stop debug logs: 
 diagnose debug disable diagnose debug reset 
 
 execute telnet globalftm.fortinet.net 443 
 
 
 diagnose sniffer packet any "host 208.91.113.53 and port 443" 4 0 a ctrl+c to stop the sniffer 
 If the above troubleshooting steps do not resolve the issue, try running the following commands in the CLI: 
 diagnose debug reset 
 Once the output shows 'Update successful', navigate to User & Authentication -> FortiTokens and verify whether the newly registered FortiTokens are now visible in the list. 
 The IP address 208.91.113.53 is an example resolved when using telnet for the FQDN 'globalftm.fortinet.net'. Adjust the IP based on the FQDN. 
 Note for FortiToken Activation Error in HA Cluster: 
 If the bundle was initially registered with the secondary unit, and a token becomes locked, deleted, or shows an error, it is then recommended to reactivate the license on that same secondary unit. This is because activating it from the primary unit will still trigger the 'Internal Server Error', since the FortiToken license is bound to the specific authentication server device (FortiGate or FortiAuthenticator) where it was first registered. 
 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.