PUT index api not working

Hi All,

I'm trying update an existing index using PUT/my_index/_mapping.

But i'm unable to do so, error encountered:
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: mapping type is missing;"

Did anyone got this fixed?
Using elastic 6.3.2.

Thanks

What exactly are you sending when you get that error?