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

bug: _bulk API requests produce error #70

Open
buddemat opened this issue Mar 15, 2023 · 2 comments
Open

bug: _bulk API requests produce error #70

buddemat opened this issue Mar 15, 2023 · 2 comments

Comments

@buddemat
Copy link

The following _bulk request works in the Kibana Dev Console:

POST /my-index/_bulk
{ "index": {} }
{ "message": "One."  }
{ "index": {} }
{ "message": "Two." }
{ "index": {} }
{ "message": "Three." }

In VSCode it fails with the following error

{
    "error": {
        "root_cause": [
            {
                "type": "illegal_argument_exception",
                "reason": "The bulk request must be terminated by a newline [\\n]"
            }
        ],
        "type": "illegal_argument_exception",
        "reason": "The bulk request must be terminated by a newline [\\n]"
    },
    "status": 400
}
@quux00
Copy link

quux00 commented Jun 1, 2023

I came here to report the same issue.

@fred-maussion
Copy link

Same issue

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

3 participants