# XPack License trail is not being accepted

**URL:** https://discuss.elastic.co/t/xpack-license-trail-is-not-being-accepted/138281
**Category:** Elasticsearch
**Created:** [July 2, 2018, 9:45pm UTC](https://discuss.elastic.co/t/xpack-license-trail-is-not-being-accepted/138281 "2018-07-02T21:45:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![warrior](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@warrior](https://discuss.elastic.co/u/warrior)
#### Post date: [July 2, 2018, 9:45pm UTC](https://discuss.elastic.co/t/xpack-license-trail-is-not-being-accepted/138281/1 "2018-07-02T21:45:23Z")

</div>

I have subscribed for Xpack trail license but when I configured it ,xpack.license.self\_generated.type: trial the elasticsearch 6.3 is not accpeting it and please find my file configuration below and help me

xpack.license.self\_generated.type: trial

[https://pastebin.com/1bdnBxkD](https://pastebin.com/1bdnBxkD)

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [July 3, 2018, 3:53am UTC](https://discuss.elastic.co/t/xpack-license-trail-is-not-being-accepted/138281/2 "2018-07-03T03:53:59Z")

</div>

Please don't use pastebin, just include the config here. We don't want to go off to other sites in order to see your question.

I suspect you configured the license type _after_ you had already started ES, so it had already generated a Basic license.  
Check

```auto
GET /_xpack/license

```

It will probably indicate that you have a "basic" license.

See the doc below for instructions on starting a trial after you have already generated a basic license.

- [https://www.elastic.co/guide/en/elastic-stack-overview/6.3/license-management.html](https://www.elastic.co/guide/en/elastic-stack-overview/6.3/license-management.html)

---

<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 31, 2018, 3:54am UTC](https://discuss.elastic.co/t/xpack-license-trail-is-not-being-accepted/138281/3 "2018-07-31T03:54:03Z")

</div>

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