Home / Rejection reasons / CSV content is empty or missing the header
rejects the whole file
"CSV content is empty or missing the header"
One of the reasons CBP gives when it rejects a CAPE declaration file. Here is what it means and what to do about it.
What it means
The first row of the file has to be the words "Entry Number", and there has to be at least one entry number under it. This shows up when the header row was deleted, when an empty sheet was saved, or when the wrong sheet of a workbook was exported.
What to do
Put "Entry Number" back in the first row with your entry numbers below it, one per row, and save again as CSV. Preflight writes the header for you.
In short: fix, then send again. Something about the entry has to be corrected before CAPE will take it.
What happens to the rest of the file
Nothing in the file is processed. CBP's guide says to correct the problem and upload the entire file again.
Can it be caught before uploading?
Yes, always. Preflight can tell this for certain from the file itself, before you upload.
Find out before CBP tells you
Drop your file on the checking page. It runs on your own computer, it is free, and nothing is uploaded. Already got this error back? Drop in the file CBP gave you and each entry is explained.
Related reasons
CBP's wording is quoted from its guide CAPE Declarations and Error Definitions and its IEEPA Duty Refunds page. The explanation is ours. Tariff Preflight is not affiliated with CBP.