# No license key was provided, running in demo mode

**URL:** <https://pdfjs.community/t/no-license-key-was-provided-running-in-demo-mode/902>\
**Category:** Technical Support\
**Created:** [July 27, 2021, 2:37am UTC](https://pdfjs.community/t/no-license-key-was-provided-running-in-demo-mode/902 "2021-07-27T02:37:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sistemas](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@sistemas](https://pdfjs.community/u/sistemas)\
**Post date:** [July 27, 2021, 2:37am UTC](https://pdfjs.community/t/no-license-key-was-provided-running-in-demo-mode/902/1 "2021-07-27T02:37:21Z")

</div>

**PDF.js Express Version**  
Core version 7.3.3

**Detailed description of issue**  
No license key provided message on production environment, correct domain associated

**Expected behaviour**  
Remove watermarks from PDFs

**Does your issue happen with every document, or just one?**  
Issue happens with every document

**Link to document**  
No link, downloads to local files

**Code snippet**

```
        let element = document.getElementById('viewer');
        WebViewer({
            licenseKey: 'my_licensekey',
            path: '/pdfjs-express',
            initialDoc: pdf_url,
            ui: 'legacy'
        }, element).then((instance) => {
       ....
```

---

_[View the full topic](https://pdfjs.community/t/no-license-key-was-provided-running-in-demo-mode/902)._
