# Update marvel basic license failed

**URL:** https://discuss.elastic.co/t/update-marvel-basic-license-failed/42886
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [February 26, 2016, 6:24pm UTC](https://discuss.elastic.co/t/update-marvel-basic-license-failed/42886 "2016-02-26T18:24:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jiunjiunma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jiunjiunma/32/12995_2.png) [@jiunjiunma](https://discuss.elastic.co/u/jiunjiunma)
#### Post date: [February 26, 2016, 6:24pm UTC](https://discuss.elastic.co/t/update-marvel-basic-license-failed/42886/1 "2016-02-26T18:24:22Z")

</div>

Hi, I tried to update the marvel basic license, but got this obscure error message while running:

curl -XPUT '[http://host](http://host):port/\_license' -d @mylicense.json

(Note I don't have shield installed so I didn't use the -u option)

{"acknowledged":false,"license\_status":"valid","acknowledge":{"message":"This license update requires acknowledgement. To acknowledge the license, please read the following messages and update the license again, this time with the "acknowledge=true" parameter:","marvel":["basic"]}}

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 26, 2016, 7:33pm UTC](https://discuss.elastic.co/t/update-marvel-basic-license-failed/42886/2 "2016-02-26T19:33:17Z")

</div>

Try `curl -XPUT 'http://host:port/_license&acknowledge=true' -d @mylicense.json`?

---

<div class="post-metadata">

### Author: ![mob0405](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mob0405](https://discuss.elastic.co/u/mob0405)
#### Post date: [March 21, 2016, 3:42pm UTC](https://discuss.elastic.co/t/update-marvel-basic-license-failed/42886/3 "2016-03-21T15:42:38Z")

</div>

Hi, did you ever solve this? I'm having the same issue

---

<div class="post-metadata">

### Author: ![mob0405](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mob0405](https://discuss.elastic.co/u/mob0405)
#### Post date: [March 21, 2016, 4:02pm UTC](https://discuss.elastic.co/t/update-marvel-basic-license-failed/42886/4 "2016-03-21T16:02:57Z")

</div>

I actually solved the issue, the previous suggestion was very close curl -XPUT '[http://host](http://host):port/\_license?acknowledge=true' -d @license.json

---

<div class="post-metadata">

### Author: ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)
#### Post date: [March 21, 2016, 6:27pm UTC](https://discuss.elastic.co/t/update-marvel-basic-license-failed/42886/5 "2016-03-21T18:27:40Z")

</div>

To be explicit for anyone else that comes across this post:

```auto
curl -XPUT 'http://host:port/_license?acknowledge=true' -d @license.json

```

The above cURL request is just a `PUT` request that sends the `license.json` file as the body of the request. As the file extension implies, the file contains a JSON data structure. `@license.json` is used instead of `license.json` as a way to tip off the cURL command that it needs to dump the contents of that arbitrarily named file as the body of the request.

---

<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: [July 6, 2017, 1:44pm UTC](https://discuss.elastic.co/t/update-marvel-basic-license-failed/42886/6 "2017-07-06T13:44:53Z")

</div>


