ElasticSearch Restore "Unknown parameter type"


(ONE) #1

I am trying to restore my elasticsearch on a new machine.

I copied the backup across, set up a new repo with the same name (called myrep). I have check if this works by doing:

> `GET http://127.0.0.1:9200/_snapshot`

which returned:

{
"myrep": {
"type": "fs",
"settings": {
"compress": "true",
"location": "myrep"
}
}
}

When I try to do a restore doing:

POST http://127.0.0.1:9200/_snapshot/myrep/snapshot_1/_restore

I get an error:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Unknown parameter type"
}
],
"type": "illegal_argument_exception",
"reason": "Unknown parameter type"
},
"status": 400
}

Can anyone help?


(David Pilato) #2

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with </> icon. Check the preview window.


(ONE) #3

I have edited the post, is that better?


(ONE) #4

Mistake on my behalf. I had a body in my post request which was causing issues.


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.