License key not working for my production url

When I run my application locally I can see in the browser console:
PDFJS express: Development environment detected. This license key is currently registered to dealsandprojects .com

When running on production system on preview .dealsandprojects .com I get the following error: PDFJS express: A valid license key is required to use the view only build of PDF js Express.

Maybe my url is too long for the algorithm?

UI version 8.2.0
Core version 8.2.1

Hey there,

Please ensure you are using the latest version and that the static dependencies were properly swapped out if/when you upgraded (this means deleting the old dependencies and replacing them with the new ones)

There was a bug in the previous version that could cause this error but it was fixed in the latest.

Let me know if you still have issues after this.

Thanks!
Logan

Hi Logan,

thank you very much for the information.
I downloaded the newest version here https://pdfjs.express/download-viewer and then I downloaded the newest version via npm. But without success. In the browser console I can see
UI version 8.2.0
Core version 8.2.1

Is there a newer version?

Thank you
Johannes

Hey there,

Am I able to get access to your staging environment? It’s a bit tricky for me to debug this without some more info.

Logan

Hi Logan,

I am really sorry. It is working now.
Maybe there was still something cached.
Thank you for your help!

Best regards
Johannes

1 Like