{"action":"created","issue":{"url":"https://api.github.com/repos/JoshClose/CsvHelper/issues/380","labels_url":"https://api.github.com/repos/JoshClose/CsvHelper/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/JoshClose/CsvHelper/issues/380/comments","events_url":"https://api.github.com/repos/JoshClose/CsvHelper/issues/380/events","html_url":"https://github.com/JoshClose/CsvHelper/issues/380","id":72599012,"number":380,"title":"csvHelper.Read() Skipping first record","user":{"login":"anandneema14","id":12206932,"avatar_url":"https://avatars.githubusercontent.com/u/12206932?v=3","gravatar_id":"","url":"https://api.github.com/users/anandneema14","html_url":"https://github.com/anandneema14","followers_url":"https://api.github.com/users/anandneema14/followers","following_url":"https://api.github.com/users/anandneema14/following{/other_user}","gists_url":"https://api.github.com/users/anandneema14/gists{/gist_id}","starred_url":"https://api.github.com/users/anandneema14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandneema14/subscriptions","organizations_url":"https://api.github.com/users/anandneema14/orgs","repos_url":"https://api.github.com/users/anandneema14/repos","events_url":"https://api.github.com/users/anandneema14/events{/privacy}","received_events_url":"https://api.github.com/users/anandneema14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-05-02T06:42:04Z","updated_at":"2015-05-02T07:43:14Z","closed_at":null,"body":"The helper seems to be reading the headers correctly, then skipping the first row of data (row 2 in csv)\r\nIEnumerable records = csv.GetRecords();\r\ncsvhelper.Read();\r\n\r\nthe headers are on row 1, read in correctly, then data is read in starting with row 3 in CSV skipping the first data row (row 2) completely.\r\n\r\nPlease help.\r\n\r\n-Anand"},"comment":{"url":"https://api.github.com/repos/JoshClose/CsvHelper/issues/comments/98326522","html_url":"https://github.com/JoshClose/CsvHelper/issues/380#issuecomment-98326522","issue_url":"https://api.github.com/repos/JoshClose/CsvHelper/issues/380","id":98326522,"user":{"login":"jamesbascle","id":4188293,"avatar_url":"https://avatars.githubusercontent.com/u/4188293?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesbascle","html_url":"https://github.com/jamesbascle","followers_url":"https://api.github.com/users/jamesbascle/followers","following_url":"https://api.github.com/users/jamesbascle/following{/other_user}","gists_url":"https://api.github.com/users/jamesbascle/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbascle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbascle/subscriptions","organizations_url":"https://api.github.com/users/jamesbascle/orgs","repos_url":"https://api.github.com/users/jamesbascle/repos","events_url":"https://api.github.com/users/jamesbascle/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbascle/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T07:43:14Z","updated_at":"2015-05-02T07:43:14Z","body":"You could set up symbol servers and get the symbols and step into the reader to see if Read() is not being called by GetRecords, and if the hasBeenRead flag has been set when you attempt to access  csvReader.FieldHeaders.\r\n\r\nI see that you are not using any kind of maps or model objects or configurations in your call to GetRecords, and I've no experience in using it that way, unfortunately.\r\n\r\nOther than that, I've never encountered this kind of problem, sorry."}}