Chronograf: DataExplorer - Bad Query error message reduced to failed with status code

Created on 19 Mar 2019  路  5Comments  路  Source: influxdata/chronograf

Build Nightly
Build time 201903182000

$ chronograf --version
2019/03/19 10:10:46 Chronograf 201903182000~nightly (git: d9c46c6d284897147949210f1d55af5119aab1d4)

Use Case

After setting up a test cluster using the script found here and described here...

  1. Open Data Explorer
  2. In the query editor enter an invalid string like "Bad_Query"
  3. Click "Submit Query"

The message in the editor returns "Request failed with status code 400"

Previously this message was more explicit.

"error parsing query: found bad_query, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line 1, char 1"

Expected Behavior

That more informative message should be displayed.

Screenshots

BadQueryMessage01
BadQueryMessagePrevious

kinbug stale regression Selenium bonitoo

Most helpful comment

This issue is important for me.
I'm currently getting to know Chronograf and all I'm receiving is error 400 when I try to query one existing database.

All 5 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed because it has not had recent activity. Feel free to reopen if this issue is still important to you. Thank you for your contributions.

This issue is important for me.
I'm currently getting to know Chronograf and all I'm receiving is error 400 when I try to query one existing database.

I've just reverted to using grafana which gives me zero errors. No matter how I add a DB or build a query in Chronograf, I keep getting the 400 error with no idea why!

Same stuff here. Valid requests keep getting 400 status. Even the working ones from grafana.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jackzampolin picture jackzampolin  路  6Comments

benschweizer picture benschweizer  路  5Comments

QuentinMoss picture QuentinMoss  路  6Comments

121watts picture 121watts  路  6Comments

jaredscheib picture jaredscheib  路  3Comments