title: InfluxDB Line Protocol Bad Timestamp
body: <p>I'm trying to POST this <strong>data</strong>:</p>
  
  <pre class="lang-none prettyprint-override"><code>my_tests,SNR=533033200650344358002D00,TNR=test HelloWorld=123 1495179651177999872
  my_tests,SNR=533033200650344358002D00,TNR=test HelloWorld=444 1495179651203000064
  </code></pre>
  
  <p>The <strong>POST Url</strong> looks like that</p>
  
  <pre class="lang-none prettyprint-override"><code>http://influx.local:8086/write?db=testdb&amp;u=myuser&amp;p=myasswd
  </code></pre>
  
  <p><strong>Raw Response:</strong></p>
  
  <pre class="lang-none prettyprint-override"><code>HTTP/1.1 400 Bad Request
  Content-Type: application/json
  Request-Id: 4a1802d2-3ebd-11e7-8030-000000000000
  X-Influxdb-Version: 1.1.4
  Date: Mon, 22 May 2017 07:07:17 GMT
  Content-Length: 147
  
  {"error":"partial write:\nunable to parse 'my_tests,SNR=533033200650344358002D00,TNR=test HelloWorld=123 1495179651177999872\r': bad timestamp"}
  </code></pre>
  
  <p>The timestamp looks valid to me.<br>
  <strong>If I only POST one line (not two as in the example above) it works quite fine!</strong><br>
  I'm also wondering what the "\r" is doing there at the end of the error log after the timestamp. Because I am writing "\n".</p>
  
  <p>Interestingly I didn't have any problems writing to InfluxDB until recently. No version upgrade involved.  </p>
  
  <p>I'm running InfluxDB 1.x (not sure which version exactly)</p>
  
  <p><strong>To complete the confusion... if I entirely omit the timestamp (for testing purposes) it still doesn't work:</strong></p>
  
  <pre class="lang-none prettyprint-override"><code>{"error":"partial write:\nunable to parse 'my_tests,SNR=533033200650344358002D00,TNR=test HelloWorld=123\r': invalid number"}
  </code></pre>
  
  <p><strong>UPDATE: For testing purposes I installed InfluxDb 1.2.7 (Windows Standalone)</strong><br>
  Payload is the same as previously</p>
  
  <pre class="lang-none prettyprint-override"><code>my_tests,SNR=533033200650344358002D00,TNR=test HelloWorld=123 1439856000
  my_tests,SNR=533033200650344358002D00,TNR=test HelloWorld=444 1439856001
  </code></pre>
  
  <p>Influx reports back:</p>
  
  <pre class="lang-none prettyprint-override"><code>HTTP/1.1 400 Bad Request
  Content-Type: application/json
  Request-Id: eca5283a-3ec4-11e7-8029-000000000000
  X-Influxdb-Version: 1.2.4
  Date: Mon, 22 May 2017 08:01:56 GMT
  Content-Length: 147
  
  {"error":"partial write: unable to parse 'my_tests,SNR=533033200650344358002D00,TNR=test HelloWorld=123 1439856000\r': bad timestamp dropped=0"}
  </code></pre>
  
  <p><strong>All these tests where conducted using Fiddler Composer.</strong></p>