Skip to content

.csv device upload failing with"unexpected header" for the first column #8044

Answered by candlerb
NateMillerTR asked this question in Q&A
Discussion options

You must be logged in to vote

Since it's the first column that has the problem, I suspect that Excel has put some hidden magic character at the start of the file. Perhaps it's a unicode BOM. If this turns out to be the case, then you can open a feature request for the CSV upload to process (or ignore) the BOM.

Try printing the first few bytes of the file like this:

head -c32 myfile.csv | hexdump -C

and you can paste it here if it doesn't make sense.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@candlerb
Comment options

@NateMillerTR
Comment options

Answer selected by NateMillerTR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants