CSV::MalformedCSVError: Unclosed quoted field on line 1

After running code, getting this error. How to resolve this error.
In front of date I am getting this symbol  while running my configuration file. It appears once(first line).
Error parsing csv {:field=>"message", :source=>"2020-09-01 00:00:00,923005721964,Mobilink,"Dear Customer, you have successfully logged in at 07:11 PM on 08/31/2020. For further assistance, please call NBP Helpline 087535532." ,8627,1,2020-09-01 00:00:03,DELIVERED,SUCCESS\r", :exception=>#<CSV::MalformedCSVError: Unclosed quoted field on line 1.>}

That is a UTF-8 BOM (byte order mark). If your input allows you to set the charset you could probably fix this by setting the charset correctly. If you Google "remove utf-8 bom" you will get hundreds of thousands of hits on this.

I need to resolve this error so kindly help me to resolve this error.
[Unclosed quoted field on line 1]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.