Adds a new field inside in the existing index

Hey there,

I'm trying to add a new field to the already existing index but every time I get this error :

{
  "error" : {
    "root_cause" : [
      {
        "type" : "mapper_exception",
        "reason" : "the [include_in_parent] parameter can't be updated on a nested object mapping"
      }
    ],
    "type" : "mapper_exception",
    "reason" : "the [include_in_parent] parameter can't be updated on a nested object mapping"
  },
  "status" : 500
}

The "type" in which I want to add a new field is of type "nested" tho.
Any one can look into this and tell me what could be the reason for such error and how to resolve it ?

Thank you.

It'd be helpful if you could please share what you have and what you are trying to add.