# License error: Add bundle identifier to supported domains

**URL:** https://community.bitmovin.com/t/license-error-add-bundle-identifier-to-supported-domains/2057
**Category:** Support
**Tags:** react-native
**Created:** [June 15, 2023, 12:42pm UTC](https://community.bitmovin.com/t/license-error-add-bundle-identifier-to-supported-domains/2057 "2023-06-15T12:42:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![aayush](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@aayush](https://community.bitmovin.com/u/aayush)
#### Post date: [June 15, 2023, 12:42pm UTC](https://community.bitmovin.com/t/license-error-add-bundle-identifier-to-supported-domains/2057/1 "2023-06-15T12:42:34Z")

</div>

![Screenshot 2023-06-14 at 3.27.03 PM](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/38f2448fbf736dd66b3645d648505d8842a779ad.jpeg)

It’s a DRM video that is encoded by Pallycon. Facing this issue:

`License Error: Please visit the player section of the Bitmovin backend portal to add the bundle identifier of this app as an allowed domain`

---

<div class="post-metadata">

### Author: ![albertobitmovin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/albertobitmovin/32/256_2.png) [@albertobitmovin](https://community.bitmovin.com/u/albertobitmovin)
#### Post date: [June 19, 2023, 7:30am UTC](https://community.bitmovin.com/t/license-error-add-bundle-identifier-to-supported-domains/2057/2 "2023-06-19T07:30:36Z")

</div>

Hi Aayush,

If web app, on what exact domain are you hosting Bitmovin player? If mobile/roku app, what’s the app bundle identifier or package name? Typically, when not using 3rd party licensing, those will need to be allow-listed on Bitmovin’s license side:

- [Licensing](https://developer.bitmovin.com/playback/docs/licensing)
- [Why does the player show the error message “Your player is not allowed to play on the domain ...”?](https://developer.bitmovin.com/playback/docs/why-does-the-player-show-the-error-message-your-player-is-not-allowed-to-play-on-the-domain)
- [How can I allowlist a domain, IP, app ID, package name, or bundle identifier?](https://developer.bitmovin.com/playback/docs/how-can-i-allowlist-a-domain-ip-app-id-package-name-or-bundle-identifier)

In your case tho, if using Pallycom as 3rd party licensing verification system (as per your screenshot), you’ll need to ensure the right key is sent by the player to the licensing server, and that the licensing server implementation correctly reads and processes that key received from they player in order to approve/reject playback, as shown here: [Third Party Licensing](https://developer.bitmovin.com/playback/docs/third-party-licensing)

You should also be able to see what HTTP code does the 3rd party licensing endpoint respond with (eg: 2xx, 4xx, 5xx…) and ensure the right action is applied based on that, as highlighted here: [Third Party Licensing](https://developer.bitmovin.com/playback/docs/third-party-licensing#endpoint-responses)

---

<div class="post-metadata">

### Author: ![aayush](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@aayush](https://community.bitmovin.com/u/aayush)
#### Post date: [June 26, 2023, 8:59am UTC](https://community.bitmovin.com/t/license-error-add-bundle-identifier-to-supported-domains/2057/3 "2023-06-26T08:59:19Z")

</div>

Checked the licensing API request and for some reason `localhost` is being sent as domain in the headers.

`domain: 'localhost'`

 ![Screenshot 2023-06-26 at 7.49.25 PM](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/a6f475adb7bbaa3d5e8f5df12841cb79a630f457.jpeg)

---

<div class="post-metadata">

### Author: ![thomas.huertas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/thomas.huertas/32/291_2.png) [@thomas.huertas](https://community.bitmovin.com/u/thomas.huertas)
#### Post date: [June 29, 2023, 12:49pm UTC](https://community.bitmovin.com/t/license-error-add-bundle-identifier-to-supported-domains/2057/4 "2023-06-29T12:49:37Z")

</div>

Hi @aayush thanks for your message. I see based on your screenshot that you are testing on emulator.  
The emulator will always throw `localhost` instead of the BundleId, on this case.  
Additionally, testing DRM is not possible on emulator, as it does not include support for DRM.  
Is there a chance you could test it on a real device and let us know the outcome?  
thanks
