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

deleting a series does not work ("syntax error, unexpected TABLE_NAME, expecting SIMPLE_NAME") #386

Closed
tisba opened this issue Apr 1, 2014 · 0 comments
Milestone

Comments

@tisba
Copy link

tisba commented Apr 1, 2014

According to the documentation (http://influxdb.org/docs/api/http.html), a DELETE request to /db/:db/series/:series "delete an entire series".

This is what I get while trying to implement Client#delete_series for https://github.com/influxdb/influxdb-ruby:

curl -X DELETE -i 'localhost:8086/db/test_runs/series/tr169.requests.full?u=root&p=root'; echo
HTTP/1.1 400 Bad Request
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Access-Control-Allow-Methods: GET, POST, PUT, DELETE
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 2592000
Content-Type: text/plain
Date: Tue, 01 Apr 2014 12:42:37 GMT
Content-Length: 73

Error at 0:79. syntax error, unexpected TABLE_NAME, expecting SIMPLE_NAME
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