You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Using the client.bulk method on later versions of elasticsearch throws an error. StatusCodeError: Content-Type header [application/x-ldjson] is not supported
According to below discussions later releases of Elasticsearch are not supporting application/x-ldjson for the bulk request. The problem will be resolved by upgrading the js plugin dependency of elasticsearch (12.1.3) in package.json to a newer version.
Hi!
Using the
client.bulk
method on later versions of elasticsearch throws an error.StatusCodeError: Content-Type header [application/x-ldjson] is not supported
Using:
serverless-elasticsearch-client version: 1.1.1
Elasticsearch version: 6.7
According to below discussions later releases of Elasticsearch are not supporting application/x-ldjson for the bulk request. The problem will be resolved by upgrading the js plugin dependency of elasticsearch (12.1.3) in package.json to a newer version.
See this discussion: https://discuss.elastic.co/t/node-bulk-indexing-not-working-content-type-header-application-x-ldjson-is-not-supported/114944
The text was updated successfully, but these errors were encountered: