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
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.