Getting document by id error

Hi,

What this response means:
{
"error":
"ElasticSearchParseException[Failed to derive xcontent from (offset=0,
length=0): []]"
,
"status":400
}

while getting a document by ID from Elastic search ?
I get this error when getting the document after other ES query calls. I
use HTTP keep-alive for ES requests.

I am pretty sure that I did something wrong at my client implementation end
but I have to figure out what this error means to find the problem :slight_smile:

Thanks for any help.
Best regards.

Hi,

I found the problem, I was sending GET request as POST by mistake.

Best regards.

2012/5/30 Marcin Dojwa m.dojwa@livechatinc.com

Hi,

What this response means:
{
"error":
"ElasticSearchParseException[Failed to derive xcontent from (offset=0, length=0): ]"
,
"status":400
}

while getting a document by ID from Elastic search ?
I get this error when getting the document after other ES query calls. I
use HTTP keep-alive for ES requests.

I am pretty sure that I did something wrong at my client implementation
end but I have to figure out what this error means to find the problem :slight_smile:

Thanks for any help.
Best regards.