My Marvel trial license had expired and i have downloaded the Basic license to my system and trying to install it through the command
curl -XPUT 'http://localhost:9200/_license' -d pavithrananda-prabhu-520f8e3e-768a-49aa-97fe-77376a92fe75.json
It Fails with the below error
{"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to derive xcontent"}],"type":"parse_exception","reason":"Failed to derive xcontent"},"status":400}
The downloaded JSON file has contents in it and is not empty.