Skip to content

Scroll api 5.0, 5.1, 5.2 throwing error against elastic search 5.3+ #573

@kjg

Description

@kjg

When I use the 5.0, 5.1, 5.2 scroll API from elasticsearch-js 13.1.1 or 13.2.0 against elasticsearch versions 5.3 and up I get the error

Error: [illegal_argument_exception] Failed to parse request body

In this case the request body is just a plain string which is the scroll id, not a json payload of form {scrollId: scrollId}

Does elasticsearch 5.3 not allow for requests via API 5.0, 5.1, 5.2, or do those API definitions need to be updated, or any idea what I might be doing wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions