Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV Edition - "Invalid CSV Line" error #14

Open
shubhamsaini opened this issue Mar 13, 2015 · 1 comment
Open

CSV Edition - "Invalid CSV Line" error #14

shubhamsaini opened this issue Mar 13, 2015 · 1 comment

Comments

@shubhamsaini
Copy link

I am trying to post a CSV file using cURL. Following are the contents of the file:
5dfb6d2a-8b69-5946-9334-a1fb8c4237b5,/weather/temperature,1378029600,34
5dfb6d2a-8b69-5946-9334-a1fb8c4237b5,/weather/temperature,1378031400,34
5dfb6d2a-8b69-5946-9334-a1fb8c4237b5,/weather/temperature,1378033200,34

Command I am using:
curl -XPOST -d @testupload.csv -H "Content-Type: text/csv" http://hostname.com/add/key

Error:
Invalid CSV line: 5dfb6d2a-8b69-5946-9334-a1fb8c4237b5,/weather/temperature,1378
029600,345dfb6d2a-8b69-5946-9334-a1fb8c4237b5,/weather/temperature,1378031400,34
5dfb6d2a-8b69-5946-9334-a1fb8c4237b5,/weather/temperature,1378033200,34

Any idea what might be wrong here?

@gtfierro
Copy link
Member

Try smap-load-csv? What OS are you on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants