Description | This article describes the possible reason for seeing error -9999 while creating a new tunnel or modifying an existing tunnel. |
Scope | FortiGate. |
Solution |
This error is usually seen when the configuration being applied on the IPSec tunnel is not supported.
There are a few possible reasons for seeing the error -9999 on GUI as it is a generic error message. To get more information on the error message, try making the same change through the CLI as it will show the detailed error message.
One of the popular reasons is changing the tunnel type once the tunnel is configured. If making the change from GUI it will show the error message as shown in the screenshot above. Making the same change through CLI will show the detailed description of the error as below.
It also shows the error message -9999 on GUI if the pre-shared key is configured with characters/symbols that are not supported on the IPSec tunnel. |
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.