# The license is not valid \[SETUP\_LICENSE\_ERROR\]

**URL:** https://community.bitmovin.com/t/the-license-is-not-valid-setup-license-error/1086
**Category:** Support
**Tags:** bitmovin-player
**Created:** [August 6, 2022, 1:39am UTC](https://community.bitmovin.com/t/the-license-is-not-valid-setup-license-error/1086 "2022-08-06T01:39:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![oculusprime](https://avatars.discourse-cdn.com/v4/letter/o/e68b1a/32.png) [@oculusprime](https://community.bitmovin.com/u/oculusprime)
#### Post date: [August 6, 2022, 1:39am UTC](https://community.bitmovin.com/t/the-license-is-not-valid-setup-license-error/1086/1 "2022-08-06T01:39:07Z")

</div>

![Screen Shot 2022-08-05 at 6.37.26 PM](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/7febcccbc8e7c0ab4175fd54f0c39dc3d6cf0da9.jpeg)

How to fix this error? My license is valid and using correct syntax to reference license. I have a plan and a card on my account. Not sure what the issue is here.

Thanks!

---

<div class="post-metadata">

### Author: ![peder.borg](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/peder.borg/32/357_2.png) [@peder.borg](https://community.bitmovin.com/u/peder.borg)
#### Post date: [August 6, 2022, 9:55am UTC](https://community.bitmovin.com/t/the-license-is-not-valid-setup-license-error/1086/2 "2022-08-06T09:55:51Z")

</div>

Hi @oculusprime

Would it be possible for you to check that you have added the correct domain(s) for the license in the Bitmovin Dashboard (Player \> License \> Choose license \> Domains / Package Names / Bundle Identifiers) [Bitmovin Docs - Player FAQ - How can I allowlist a domain, IP, app ID, package name, or bundle identifier?](https://bitmovin.com/docs/player/faqs/how-can-i-allowlist-a-domain)

In addition, you should be able to open the console of your browser and notice a post-request to [https://licensing.bitmovin.com/licensing](https://licensing.bitmovin.com/licensing). In the response to this post, you should be able to get an error message - e.g. like `{"status":"denied","message":"Your player is not allowed to play on the domain d2z6pwfqp8ywfi.cloudfront.net."}`

I hope this helps.

BR  
Peder

---

<div class="post-metadata">

### Author: ![tarekali15](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/tarekali15/32/439_2.png) [@tarekali15](https://community.bitmovin.com/u/tarekali15)
#### Post date: [August 9, 2022, 3:53pm UTC](https://community.bitmovin.com/t/the-license-is-not-valid-setup-license-error/1086/3 "2022-08-09T15:53:33Z")

</div>

This can be solved now as well.

---

<div class="post-metadata">

### Author: ![peder.borg](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/peder.borg/32/357_2.png) [@peder.borg](https://community.bitmovin.com/u/peder.borg)
#### Post date: [August 10, 2022, 11:10am UTC](https://community.bitmovin.com/t/the-license-is-not-valid-setup-license-error/1086/4 "2022-08-10T11:10:26Z")

</div>

See solution/comments in this thread [Using valid player key throwing SETUP\_LICENSE\_ERROR when application is hosted](https://community.bitmovin.com/t/using-valid-player-key-throwing-setup-license-error-when-application-is-hosted/1085)
