Skip to main content
Panther Knowledge Base

How do I resolve the error "Lookup Tables csv schema requires headers" in Panther?

Issue

When trying to upload lookup table data in the Panther Console, the following error pops up in the bottom right corner and prevents me from uploading:

Couldn't create lookup. Lookup tables csv schema requires headers (hasHeader: true)

Screen Shot 2022-06-21 at 11.51.10 AM.png

Resolution

  1. Navigate to Configure > Schemas and find your custom schema that is mentioned in the error. Open it to edit.
  2. Edit the parser section of the schema file, and add in a line that says hasHeader: true. It should look like this:
    Screen Shot 2022-06-21 at 12.00.03 PM.png
  3. Save the custom schema.
  4. Navigate back to the Lookup Table page, and set up your Lookup Table again using your custom schema as the table schema.

Cause

When uploading lookup table data with a table schema that uses a CSV parser, Panther requires the table schema to have hasHeader: true in the CSV parser section. This is needed for Panther to be able to create the columns for the lookup table data.