Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

unrecognized parameter: [profile] #53

Open
moknomo opened this issue Jan 30, 2017 · 4 comments
Open

unrecognized parameter: [profile] #53

moknomo opened this issue Jan 30, 2017 · 4 comments

Comments

@moknomo
Copy link

moknomo commented Jan 30, 2017

Example request in readme
curl -XPOST 'localhost:9200/_langdetect?pretty&profile=short-text' -d 'Das ist ein Test'
return

{
  "error" : {
    "root_cause" : [
      {
        "type" : "illegal_argument_exception",
        "reason" : "request [/_langdetect] contains unrecognized parameter: [profile]"
      }
    ],
    "type" : "illegal_argument_exception",
    "reason" : "request [/_langdetect] contains unrecognized parameter: [profile]"
  },
  "status" : 400
}

elastic version

"version" : {
    "number" : "5.1.2",
    "build_hash" : "c8c4c16",
    "build_date" : "2017-01-11T20:18:39.146Z",
    "build_snapshot" : false,
    "lucene_version" : "6.3.0"
}
@antonsar
Copy link

I am having this exact same issue, were you able to find the solution ?

#63

@moknomo
Copy link
Author

moknomo commented Apr 26, 2017

Sorry, i can't fixed it

@antonsar
Copy link

Hi Moknomo,

Actually I figured out what the issue was. Profile is not supported for Version 5.1.2!! You would need to grab the later version.

Cheers!

@antonsar
Copy link

This ticket should be closed since the issue is resolved

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants