Elasticsearch::Transport::Transport::Errors::BadRequest

Hi,
I'm facing the error related to the Elasticsearch::Transport. I'm using searchkick gem in rails.

elasticsearch version 7.17.4

When i'm doing reindex using searchkick gem it returned this error

Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"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}

Welcome to our community! :smiley:

Searchkick is a community built client so I am not sure if we can directly help unfortunately, have you tried asking the author?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.