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)
Navigate to Configure > Schemas and find your custom schema that is mentioned in the error. Open it to edit.
Edit the parser section of the schema file, and add in a line that says hasHeader: true
. It should look like this:
Save the custom schema.
Navigate back to the Lookup Table page, and set up your Lookup Table again using your custom schema as the table schema.
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.