FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
WinterSnowYap
Article Id 412137
Description This article describes how FortiManager analyzes 'Error: -999' to troubleshoot the inability to show the install preview due to invalid CLI syntax.
Scope FortiManager.
Solution

In this scenario, FortiManager Install Preview shows an error message:' Error: -999'.

 

At FortiManager, when the install preview failed, select the 'Log' button to view more information. Select the CLI Template Errors button to know if it is related to a CLI Template error and the error under which line.

 

202509_FMG_InstallCLITemplateError999_001.jpg

 

At FortiGate, verify the CLI syntax is valid inside FortiGate. At FortiManager CLI Template, change the invalid CLI syntax to the valid CLI syntax. After that, FortiManager will be able to show an install preview.

 

202509_FMG_InstallCLITemplateError999_002.jpg