elastic / elastic/sense

typo'd HTTP method gives misleading error message

Open
#140 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
379
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Just FYI, I had a typo in my sense query (note the double-G in "GGET")

```
GGET _count
{
"query" : {
"match_all": {}
}
}
```

The error message I got was "Failed to connect to Sense's backend, make sure the Kibana server is running". (Which really confused me, because I'm running Sense within Kibana.)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Sense using the shown GGET _count request and trace how the request error becomes the displayed backend-connection message. Done means a typo in the HTTP method produces an accurate invalid-method error instead of claiming that Kibana's backend is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.