{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/4551","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/4551/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/4551/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/4551/events","html_url":"https://github.com/influxdb/influxdb/issues/4551","id":113052108,"number":4551,"title":"Write API Method returns 400 bad timestamp on multiple inserts","user":{"login":"jmorantebriones","id":11889002,"avatar_url":"https://avatars.githubusercontent.com/u/11889002?v=3","gravatar_id":"","url":"https://api.github.com/users/jmorantebriones","html_url":"https://github.com/jmorantebriones","followers_url":"https://api.github.com/users/jmorantebriones/followers","following_url":"https://api.github.com/users/jmorantebriones/following{/other_user}","gists_url":"https://api.github.com/users/jmorantebriones/gists{/gist_id}","starred_url":"https://api.github.com/users/jmorantebriones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmorantebriones/subscriptions","organizations_url":"https://api.github.com/users/jmorantebriones/orgs","repos_url":"https://api.github.com/users/jmorantebriones/repos","events_url":"https://api.github.com/users/jmorantebriones/events{/privacy}","received_events_url":"https://api.github.com/users/jmorantebriones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-23T16:14:25Z","updated_at":"2015-10-23T18:42:56Z","closed_at":null,"body":"I was using influxdb 0.9.0 and it was working fine, but I have upgraded to 0.9.4.2 and it returns \"bad timestamp\" error when sending multiple inserts (that don't include timestamp). I am running Influx in a Linux server (Linux 4.1.7-15.23.amzn1.x86_64 #1 SMP Mon Sep 14 23:20:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux) and I installed the software using the RPM file.\r\n\r\nIf I try to send one by one it works fine, but when I send multiple lines it fails sometimes (not always). It shouldn't be an issue related with \"\\n\" because it works fine with 0.9.0. I have double checked it, I have installed a new server with 0.9.0 and confirmed that with that version it works fine.\r\n\r\nI send the following content in the POST call:\r\n\r\n```\r\nmetric,agentname=\"JMB_test2210\",name=\"rtPerUrl\",parent=\"Welcome\\ to\\ Tomcat\",path=\"tags\" value=1.0,units=\"ms\"\r\nmetric,agentname=\"JMB_test2210\",name=\"hitsPerUrl\",parent=\"Welcome\\ to\\ Tomcat\",path=\"tags\" value=1.0,units=\"hits\"\r\nmetric,agentname=\"JMB_test2210\",name=\"cpuPerUrl\",parent=\"Welcome\\ to\\ Tomcat\",path=\"tags\" value=0.0,units=\"%\"\r\n```\r\n\r\nAnd I am calling the following URL: http://127.0.0.1:8086/write?db=tests_db\r\n\r\nFor the tests of the API I am using DHC Chrome application: \r\n\r\n![image](https://cloud.githubusercontent.com/assets/11889002/10698646/5d5395d8-79b2-11e5-9c4a-a8026b225566.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11889002/10698698/ae469ed6-79b2-11e5-9d49-2d199675b8af.png)\r\n"},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/150659779","html_url":"https://github.com/influxdb/influxdb/issues/4551#issuecomment-150659779","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/4551","id":150659779,"user":{"login":"beckettsean","id":6537329,"avatar_url":"https://avatars.githubusercontent.com/u/6537329?v=3","gravatar_id":"","url":"https://api.github.com/users/beckettsean","html_url":"https://github.com/beckettsean","followers_url":"https://api.github.com/users/beckettsean/followers","following_url":"https://api.github.com/users/beckettsean/following{/other_user}","gists_url":"https://api.github.com/users/beckettsean/gists{/gist_id}","starred_url":"https://api.github.com/users/beckettsean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckettsean/subscriptions","organizations_url":"https://api.github.com/users/beckettsean/orgs","repos_url":"https://api.github.com/users/beckettsean/repos","events_url":"https://api.github.com/users/beckettsean/events{/privacy}","received_events_url":"https://api.github.com/users/beckettsean/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T18:42:56Z","updated_at":"2015-10-23T18:42:56Z","body":"Also check your file to make sure you don't have any `0x0D` (carriage return) characters in your file. That is common when the file has passed through a Windows machine and will [cause issues](https://influxdb.com/docs/v0.9/troubleshooting/frequently_encountered_issues.html#getting-an-unexpected-error-when-sending-data-over-the-http-api) when submitting to InfluxDB."}}