Header error when importing a .csv into a custom IPS policy list in DCS
search cancel

Header error when importing a .csv into a custom IPS policy list in DCS

book

Article ID: 375693

calendar_today

Updated On:

Products

Data Center Security Server Advanced Data Center Security Server

Issue/Introduction

You are attempting to import a list of IP addresses into a custom IPS policy list and get the error below: 

"Headers are not in correct format, please check if all the headers for the parameter are present and in the correct order"

Cause

The list you are using does not contain headers that are in the correct format, or are in the incorrect order

Resolution

Best practice to find the correct value for the headers in a custom list is to create a list and export the header values from the java console, OR export an existing list and use the header values from the existing list. 

To add the values to a new list: 

1. Export the list to a csv and open with Excel to review the headers that are exported

2. Copy your list values under the correct headers in the .csv

3. Save the list as .csv format

4. Import the list

5. Select the "Append" option 

 

To add values to an existing list: 

1. Export the list to a csv and open in Excel

2. Enter your new list values under the existing list values (using the same headers in the exported file)

3. Save the list as .csv format

4. Import the list and select the "Replace" option

NOTE** Replacing the values will completely replace the current list with the new values in the .csv you are importing. Please make sure all of the values you wish to have in the list are present in the .csv before importing and selecting the "Replace" option.