Tariff Preflight

Home / Rejection reasons / Not a CSV file

rejects the whole file

"Not a CSV file"

One of the reasons CBP gives when it rejects a CAPE declaration file. Here is what it means and what to do about it.

CBP's wording
Not a CSV file
File format must be CSV

What it means

The file is an Excel workbook or some other format. Changing the file name from .xlsx to .csv does not convert it. It is still a workbook inside.

What to do

In Excel choose File, Save As, and pick "CSV (Comma delimited)". Or drop the workbook into Preflight and download the CSV it builds.

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.