# License Error/ License API not getting called

**URL:** https://pdfjs.community/t/license-error-license-api-not-getting-called/1726
**Category:** Technical Support
**Tags:** pdfjs-express
**Created:** [May 31, 2022, 2:07pm UTC](https://pdfjs.community/t/license-error-license-api-not-getting-called/1726 "2022-05-31T14:07:23Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![ranjit.intelegent88](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@ranjit.intelegent88](https://pdfjs.community/u/ranjit.intelegent88)
#### Post date: [May 31, 2022, 2:07pm UTC](https://pdfjs.community/t/license-error-license-api-not-getting-called/1726/1 "2022-05-31T14:07:23Z")

</div>

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

**PDF.js Express Version**

Core Version- **8.4.0** ,  
UI Version - **8.4.1**

**Detailed description of issue**  
This issue is happening randomly & the license key API is not getting called most of the times, some time it calls the API some times not & the result of that is the document is not loading, see the attached image below. This is so annoying. see the Screenshot below

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ac494d12cf45eb60d95ae2bde3dbdea915b8e20d.png)

**Expected behaviour**  
The Document should display & should not show License key error in console as we are using valid key,

**Does your issue happen with every document, or just one?**  
All Documents

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**  
See below

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/95766b07cc673fe0194eddec127c6eabab4f00de.png)

---

_[View the full topic](https://pdfjs.community/t/license-error-license-api-not-getting-called/1726)._
