Skip to main content
FortiZiq
Staff
Staff
November 25, 2024

Troubleshooting Tip: Exporting Policy Package to Excel Generates Empty File

Description

This article describes how to troubleshoot an issue in FortiManager where exporting policy packages to Excel will generate empty (.xlsx) files.

Scope FortiManager.
Solution

Issue Example:

When exporting the Policy Package, the user may encounter the following issue where the downloaded xlsx file cannot be opened.

 

From FortiManager, there is no error output when performing the export, and the file was downloaded successfully. However, when checking in File Explorer, the size of the file is 0 bytes.

 

policyexport.png

 

This issue might be caused by invalid character(s) in the policies.

For example, the following policy references a Service Object that contains a backslash (\) character, causing issues when exporting Policy Packages.

 

policy.png

 

Troubleshooting:

Change or remove the backslash character from the Service Object’s name (e.g. TCP\443 -> TCP/443).

 

correct.png

 

The Policy Export to Excel should be downloading the file correctly.

 

policycorrect_correct.png

 

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT