# Your account is has been cancelled

**URL:** <https://pdfjs.community/t/your-account-is-has-been-cancelled/1878>\
**Category:** Technical Support\
**Created:** [July 15, 2022, 10:10am UTC](https://pdfjs.community/t/your-account-is-has-been-cancelled/1878 "2022-07-15T10:10:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![appdev](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@appdev](https://pdfjs.community/u/appdev)\
**Post date:** [July 15, 2022, 10:10am UTC](https://pdfjs.community/t/your-account-is-has-been-cancelled/1878/1 "2022-07-15T10:10:27Z")

</div>

**Which product are you using?**  
PDF.js Express Plus and rest API

**PDF.js Express Version**  
UI version ‘8.4.1’  
Core version ‘8.4.0’

**Detailed description of issue**  
We could use pdfjs since April normally.  
But now, no document can be loaded. We get only an error in console about “Your account is has been cancelled”  
The last payment was 2022/07/09

**Expected behaviour**  
That PDFjs express can load the document. And save it later with annotations

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

**Link to document**

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [July 15, 2022, 10:10am UTC](https://pdfjs.community/t/your-account-is-has-been-cancelled/1878/3 "2022-07-15T10:10:32Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Manually Download & integrate PDF.js Express Plus - Use more PDF.js Express APIs](https://pdfjs.express/documentation/get-started/manually#use-more-pdf.js-express-apis)
- [Open a document, add annotations, download - 2. Listen for document load](https://pdfjs.express/documentation/use-case/upload-download.8#2.-listen-for-document-load)
- [Migrating from PDF.js Express to PDFTron - 3. Remove PDF.js Express Modules](https://pdfjs.express/documentation/learn-more/pdfjs-express-to-pdftron.8#3.-remove-pdf.js-express-modules)

APIs:
- [PDF.js Express Utilities](https://pdfjs.express/api/utils/index.html#__anchor)
- [ExpressUtils(optionsopt) - # async extract() → {Promise.}](https://pdfjs.express/api/utils/ExpressUtils.html#extract__anchor)
- [Core.Document - isWebViewerServerDocument()](https://pdfjs.express/api/Core.Document.html#isWebViewerServerDocument__anchor)

Forums:
- [The active licence key is not working](https://pdfjs.community/t/the-active-licence-key-is-not-working/1099/1)
- [Pdfjs.express 8.2.1 error on a valid License Key](https://pdfjs.community/t/pdfjs-express-8-2-1-error-on-a-valid-license-key/1340/1)
- [Access to PDF.js viewer when your servers are unavailable](https://pdfjs.community/t/access-to-pdf-js-viewer-when-your-servers-are-unavailable/1260/1)

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [July 15, 2022, 6:22pm UTC](https://pdfjs.community/t/your-account-is-has-been-cancelled/1878/4 "2022-07-15T18:22:48Z")

</div>

Hi appdev,

To diagnose further we require the following information.

Do you get the error message when used with a different API? (i.e. merge or set)

> **[Merge & Extract Annotation on PDF.js Express | Documentation](https://pdfjs.express/documentation/annotation/merge-and-extract)**

Is the error message shown from localhost?  
Does this error message show up when used from a server?

Best Regards,  
Kevin Kim  
Web Development Support Engineer  
PDFTron Systems, Inc.

---

<div class="post-metadata">

**Author:** ![appdev](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@appdev](https://pdfjs.community/u/appdev)\
**Post date:** [July 19, 2022, 1:40am UTC](https://pdfjs.community/t/your-account-is-has-been-cancelled/1878/5 "2022-07-19T01:40:32Z")

</div>

Thank you Kevin  
The error happens on build. The license key assigned to the URL of the build

I cannot test other APIs because even viewing a PDF does not work.

Best regards,  
Gerald

---

<div class="post-metadata">

**Author:** ![driley](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@driley](https://pdfjs.community/u/driley)\
**Post date:** [July 19, 2022, 5:08pm UTC](https://pdfjs.community/t/your-account-is-has-been-cancelled/1878/6 "2022-07-19T17:08:26Z")

</div>

Hi Gerald,

I’ve looked into this issue for you and it seems due to a missed payment for your subscription API keys were cancelled. If you log in to your account and go to `https://pdfjs.express/profile` you should be able to renew your keys and everything should work again.

As for why you can’t view a PDF due to cancelled keys, I would need to see a code snippet of how you call the REST API. However, from the error screenshot, you provided it does appear you are not try/catching your API call which is causing your application to crash when the REST API throws an error.

You could try something like this and then see if the error continues:

```javascript
try {
// your code to call the REST API
} catch(e) {
// code to handle a failed call to the REST API
}

```

Let me know if there are any complications with getting your API keys back online.

Cheers,  
Dustin

---

<div class="post-metadata">

**Author:** ![appdev](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@appdev](https://pdfjs.community/u/appdev)\
**Post date:** [July 19, 2022, 11:59pm UTC](https://pdfjs.community/t/your-account-is-has-been-cancelled/1878/7 "2022-07-19T23:59:51Z")

</div>

Thank you Dustin!  
Renewing the keys was not necessary… just needed to click the “enable subscriotion” button.
