# Watermark appears when server is unresponsive

**URL:** <https://pdfjs.community/t/watermark-appears-when-server-is-unresponsive/1545>\
**Category:** Technical Support\
**Created:** [April 5, 2022, 1:01am UTC](https://pdfjs.community/t/watermark-appears-when-server-is-unresponsive/1545 "2022-04-05T01:01:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@andy](https://pdfjs.community/u/andy)\
**Post date:** [April 5, 2022, 1:01am UTC](https://pdfjs.community/t/watermark-appears-when-server-is-unresponsive/1545/1 "2022-04-05T01:01:09Z")

</div>

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

**PDF.js Express Version**  
8.1.1

**Detailed description of issue**  
We had a situation where PDF Express was unable to reach the server to verify our key. The viewer then loaded showing watermarks.

**Expected behaviour**  
Perhaps a way it can check the api key multiple times before falling back to showing the watermark?

**Code snippet**  
`https://auth.pdfjs.express/?key=key`

---

<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:** [April 5, 2022, 1:01am UTC](https://pdfjs.community/t/watermark-appears-when-server-is-unresponsive/1545/2 "2022-04-05T01:01:14Z")

</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:
- [Adding your license key - PDF.js Express Plus License Keys](https://pdfjs.express/documentation/get-started/add-license-key#pdf.js-express-plus-license-keys-<span-class='plus'></span>)
- [Add watermarks to viewer - Draw custom content as watermark](https://pdfjs.express/documentation/viewer/watermarks.8#draw-custom-content-as-watermark)
- [Add a watermark to a document using the Express REST API - Body params](https://pdfjs.express/documentation/utils/watermark#body-params)

APIs:
- [UI - viewerLoaded](https://pdfjs.express/api/UI.html#event:viewerLoaded__anchor)
- [Core.DocumentViewer - setWatermark(options)](https://pdfjs.express/api/Core.DocumentViewer.html#setWatermark__anchor)
- [Core.Document - getDownloadLink( [options])](https://pdfjs.express/api/Core.Document.html#getDownloadLink__anchor)

Forums:
- [Licence key not working with version 8.2](https://pdfjs.community/t/licence-key-not-working-with-version-8-2/1310/5)
- [Seeing watermark with plus package and even with paid license](https://pdfjs.community/t/seeing-watermark-with-plus-package-and-even-with-paid-license/1417/1)
- [I have license, but still show watermark](https://pdfjs.community/t/i-have-license-but-still-show-watermark/1078/1)

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [April 5, 2022, 2:47pm UTC](https://pdfjs.community/t/watermark-appears-when-server-is-unresponsive/1545/4 "2022-04-05T14:47:16Z")

</div>

Hey there,

We actually added this functionality in the latest version (8.3.0). Feel free to upgrade when you have the chance.

Thanks!  
Logan

---

<div class="post-metadata">

**Author:** ![andy](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@andy](https://pdfjs.community/u/andy)\
**Post date:** [April 6, 2022, 9:57pm UTC](https://pdfjs.community/t/watermark-appears-when-server-is-unresponsive/1545/5 "2022-04-06T21:57:51Z")

</div>

Oh okay great thanks!

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [April 7, 2022, 8:40pm UTC](https://pdfjs.community/t/watermark-appears-when-server-is-unresponsive/1545/6 "2022-04-07T20:40:48Z")

</div>


