This error generally occurs in the following situations :

 

Scenario 1

There are blank rows at the top in your Excel sheet.

Solution

Remove the blank rows (if any) from the top, in your Excel sheet, such that the 1st row contains column headings and the data starts from 2nd row.