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
{{ message }}
This repository was archived by the owner on Dec 18, 2021. It is now read-only.
GET or POST _langdetect
{
"text": "das ist ein test"
}
{
"error": {
"root_cause": [
{
"type": "json_generation_exception",
"reason": "Can not write a field name, expecting a value"
}
],
"type": "json_generation_exception",
"reason": "Can not write a field name, expecting a value"
},
"status": 500
}
from cURL
$ curl -XPOST http://127.0.0.1:9200/_langdetect -d '{"text":"some text"}'
{"error":{"root_cause":[{"type":"json_generation_exception","reason":"Can not write a field name, expecting a value"}],"type":"json_generation_exception","reason":"Can not write a field name, expecting a value"},"status":500}
$ curl -XGET http://127.0.0.1:9200/_langdetect -d '{"text":"some text"}'
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No endpoint or operation is available at [_langdetect]"}],"type":"illegal_argument_exception","reason":"No endpoint or operation is available at [_langdetect]"},"status":400}
$ curl -XGET http://127.0.0.1:9200/_langdetect -d 'some text'
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
$curl -XPOST http://127.0.0.1:9200/_langdetect -d 'some text'
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
so maybe I'm doing somewhat wrong ?
Please help.
regards
Alex
The text was updated successfully, but these errors were encountered:
My config
ES:
Kibana 5.3
and plugins
my tryes
so maybe I'm doing somewhat wrong ?
Please help.
regards
Alex
The text was updated successfully, but these errors were encountered: