# Error while upgrading Elasticsearch license

**URL:** <https://discuss.elastic.co/t/error-while-upgrading-elasticsearch-license/113469>\
**Category:** Elasticsearch\
**Created:** [December 28, 2017, 3:39pm UTC](https://discuss.elastic.co/t/error-while-upgrading-elasticsearch-license/113469 "2017-12-28T15:39:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivek\_a](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@vivek\_a](https://discuss.elastic.co/u/vivek_a)\
**Post date:** [December 28, 2017, 3:39pm UTC](https://discuss.elastic.co/t/error-while-upgrading-elasticsearch-license/113469/1 "2017-12-28T15:39:07Z")

</div>

Hi All,

I have ran into a problem while upgrading my Elasticsearch license. Please see the Error below. I am quite new to ES. Need some help please?

{"error":{"root\_cause":[{"type":"illegal\_argument\_exception","reason":"failed to parse license source"}],"type":"illegal\_argument\_exception","reason":"failed to parse license source","caused\_by":{"type":"json\_parse\_exception","reason":"Unexpected character ('\<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@1baf9d0d; line: 1, column: 2]"}},"status":400

Thanks,  
Vivek

---

<div class="post-metadata">

**Author:** ![vivek\_a](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@vivek\_a](https://discuss.elastic.co/u/vivek_a)\
**Post date:** [December 28, 2017, 5:24pm UTC](https://discuss.elastic.co/t/error-while-upgrading-elasticsearch-license/113469/2 "2017-12-28T17:24:47Z")

</div>

Solved, Saved the License key as a new file and ran curl command to upgrade License

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 25, 2018, 5:24pm UTC](https://discuss.elastic.co/t/error-while-upgrading-elasticsearch-license/113469/3 "2018-01-25T17:24:47Z")

</div>

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