# Cannot generate key for .gov.mv domains

**URL:** <https://pdfjs.community/t/cannot-generate-key-for-gov-mv-domains/1399>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [February 21, 2022, 6:27am UTC](https://pdfjs.community/t/cannot-generate-key-for-gov-mv-domains/1399 "2022-02-21T06:27:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![samah](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@samah](https://pdfjs.community/u/samah)\
**Post date:** [February 21, 2022, 6:27am UTC](https://pdfjs.community/t/cannot-generate-key-for-gov-mv-domains/1399/1 "2022-02-21T06:27:36Z")

</div>

**Which product are you using?**  
=PDF.js Express Viewer=

**PDF.js Express Version**  
UI version: 8.1.0  
Core version: 8.1.1

**Detailed description of issue**

It works fine on local server with .test domains and I am able to generate key for this type of urls without any issues.

I tried to generate a key for my production website but it says I don’t need to include subdomains but the root domain is actually [xxxx.gov.mv](https://xxxx.gov.mv) (it only accepts [gov.mv] as the domain but it does not load the PDF from viewer I use that and test it).

**Expected behaviour**  
Does not load pdf. Error message pops op in the console: Error: [PDFJS.express](http://PDFJS.express): A valid license key is required to use the view only build of PDF.js Express. Get your free license key at (account required)

**Does your issue happen with every document, or just one?**  
Every Document

**Link to document**

**Code snippet**

---

_[View the full topic](https://pdfjs.community/t/cannot-generate-key-for-gov-mv-domains/1399)._
