Content type header application/x-ldjson not supported

I am using elastic search in our application

I am getting error on using client.bulk method. Please suggest us next steps on this

<- 406
{
"error": "Content-Type header [application/x-ldjson] is not supported",
"status": 406
}

Which client and version is that?