Your account is has been cancelled

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

Hello, I’m Ron, an automated tech support bot :robot:

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

Guides:APIs:Forums:

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)

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.

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

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:

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

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

1 Like