Skip to main content
sseriramalu
Staff
Staff
Feb 17, 2026 5:02 PM UTC

Troubleshooting Tip: FortiManager prompts 'runtime error 0:invalid value' error when installing policy to FortiGate

Description

This article describes how to troubleshoot the 'runtime error 0:invalid value' error in FortiManager when installing a policy on FortiGate.

 

1.png

Scope FortiManager.
Solution
  1. Run debug commands on FortiManager CLI to determine what is causing the error 'runtime error 0: invalid value' when installing a policy package.

Debug:

 

diagnose debug application securityconsole 255

diagnose debug enable

 

  1. In this scenario, debugging shows 'insufficient space'.

 

  1. Run the below CLI command to check if FortiManager has sufficient disk storage allocated:

 

get system performance

 

  1. Add or extend FortiManager's Disk space. See this article: Technical Tip: Extending disk space in FortiAnalyzer-VM/FortiManager-VM.
  2. Verify that the new storage is applied properly and that it is in the status 'Used' as in the screenshot below.

 

disk_space.png
  1. Once sufficient disk space is allocated for FortiManager, FortiManager will be able to install the policy package without any error.
  2. A file system repair can also be performed using the command "diagnose system fsck harddisk", which will require a device reboot.

Related document:

Minimum system requirements

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024