Maybe there are a reason for that- for example, table need some data csv didnt provide (for specific line)... We cant tell u about your problem- depends of csv, table scheme, etc. U must figure out.
We need WAAAYYY more information to provide any help. What does your code look like (specifically for handling the CSV, don't just paste in everything). What have you tried to solve the problem yourself?