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

Console does not forward the body of DELETE requests? #11341

Closed
jpountz opened this issue Apr 20, 2017 · 2 comments
Closed

Console does not forward the body of DELETE requests? #11341

jpountz opened this issue Apr 20, 2017 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@jpountz
Copy link

jpountz commented Apr 20, 2017

The following Console script fails with Console while it succeeds if I run curl from the command line:

DELETE test 

PUT test/test/1
{
  "foo": "bar"
}

PUT test/test/2
{
  "foo": "baz"
}

GET test/_search?scroll=5m&size=1

DELETE _search/scroll
{
  "scroll_id": [ "put_scroll_id_here" ]
}

It returns the following error:

{
  "error": {
    "root_cause": [
      {
        "type": "action_request_validation_exception",
        "reason": "Validation Failed: 1: no scroll ids specified;"
      }
    ],
    "type": "action_request_validation_exception",
    "reason": "Validation Failed: 1: no scroll ids specified;"
  },
  "status": 400
}

which suggests that Elasticsearch did not find a scroll id in the request. And indeed I tried to debug Elasticsearch to see what is happening and the body never reaches Elasticsearch. On the other hand if I run the clear-scroll call from the command-line with curl, everything works as expected. So I'm wondering that there might be a bug with Console and DELETE operations with bodies?

@jpountz jpountz added Feature:Console Dev Tools Console Feature bug Fixes for quality problems that affect the customer experience labels Apr 20, 2017
@timroes timroes added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed :Management DO NOT USE labels May 31, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

@cjcenizal
Copy link
Contributor

Closed by #32407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

5 participants