Diagnosing "ElasticSearchParseException[Failed to derive xcontent from ]" error


(skaffman-2) #1

Whilst updating a mapping document using the REST API, I suddenly
started getting a 500 error from the server when PUTting the document:

{"error":"ElasticSearchParseException[Failed to derive xcontent
from ]","status":500}

The server's logs contain nothing.

The mapping document itself is fine (I can push it to another
ElasticSearch instance with no problems), so I'm thinking the internal
state of the server is corrupted somehow.

How do I go about diagnosing this? Shouldn't I be seeing something in
the log if I'm getting something as irrecoverable as a 500 error?


(skaffman-2) #2

I'm using ES 0.15.2, incidentally.

On Mar 22, 11:55 am, skaffman ke...@chasmcity.com wrote:

Whilst updating a mapping document using the REST API, I suddenly
started getting a 500 error from the server when PUTting the document:

{"error":"ElasticSearchParseException[Failed to derive xcontent
from ]","status":500}

The server's logs contain nothing.

The mapping document itself is fine (I can push it to another
ElasticSearch instance with no problems), so I'm thinking the internal
state of the server is corrupted somehow.

How do I go about diagnosing this? Shouldn't I be seeing something in
the log if I'm getting something as irrecoverable as a 500 error?


(skaffman-2) #3

Please ignore the above. I'm an idiot.

On Mar 22, 11:55 am, skaffman ke...@chasmcity.com wrote:

I'm using ES 0.15.2, incidentally.

On Mar 22, 11:55 am, skaffman ke...@chasmcity.com wrote:

Whilst updating a mapping document using the REST API, I suddenly
started getting a 500 error from the server when PUTting the document:

{"error":"ElasticSearchParseException[Failed to derive xcontent
from ]","status":500}

The server's logs contain nothing.

The mapping document itself is fine (I can push it to another
ElasticSearch instance with no problems), so I'm thinking the internal
state of the server is corrupted somehow.

How do I go about diagnosing this? Shouldn't I be seeing something in
the log if I'm getting something as irrecoverable as a 500 error?


(system) #4