# The PDF was watermarked for a certain period of time

**URL:** <https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220>\
**Category:** Technical Support\
**Created:** [April 15, 2024, 6:25pm UTC](https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220 "2024-04-15T18:25:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev1](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@dev1](https://pdfjs.community/u/dev1)\
**Post date:** [April 15, 2024, 6:25pm UTC](https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220/1 "2024-04-15T18:25:20Z")

</div>

**Which product are you using?**

**PDF.js Express Version**

8.7.4

**Detailed description of issue**  
{Description here}

On April 15, 2024 at UTC, a watermark appeared on a PDF for an hour or two starting around 10:00 am.

I did nothing and after a while the PDF watermark disappeared.

Was the license server unstable?

**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}

**Does your issue happen with every document, or just one?**  
{Answer here}

every document

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**  
{Provide a relevant code snippet}

---

<div class="post-metadata">

**Author:** ![darian.chen](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@darian.chen](https://pdfjs.community/u/darian.chen)\
**Post date:** [April 15, 2024, 7:12pm UTC](https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220/3 "2024-04-15T19:12:50Z")

</div>

Hi there,

Are you able to provide any network logs at the time? Can you see if any of the requests are failing?

Best Regards,  
Darian

---

<div class="post-metadata">

**Author:** ![dev1](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@dev1](https://pdfjs.community/u/dev1)\
**Post date:** [April 16, 2024, 1:18am UTC](https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220/4 "2024-04-16T01:18:15Z")

</div>

At the time, “[https://auth.pdfjs.express/?key=xxx](https://auth.pdfjs.express/?key=xxx)” returned a 200 response, but the PDF had a watermark.

Currently, the PDF has no watermark and displays correctly.  
Therefore, it is not logged.

I thought it was an effect of the license server as it resolved itself over time.  
Could you please investigate if the server is the problem?

---

<div class="post-metadata">

**Author:** ![dev1](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@dev1](https://pdfjs.community/u/dev1)\
**Post date:** [April 16, 2024, 8:49am UTC](https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220/5 "2024-04-16T08:49:53Z")

</div>

I can confirm the occurrence again and will post the log.

**console**

| (index) | Value |
| --- | --- |
| | |
| UI version | ‘8.7.0’ |
| Core version | ‘8.7.4’ |
| webviewer.min.js | ‘8.7.4’ |
| Build | ‘Ni8xNi8yMDIzfDhhZjQyYTgwOTU=’ |
| WebViewer Server | false |
| Full API | false |

**request**

```javascript
https://auth.pdfjs.express/?key=

```

**response**

```javascript
Status Code: 200 OK
{"key": "ÆÖÜýÍÚÈâÉüüÃÅüíêÍºø÷×ãÖ÷¸"}

```

---

<div class="post-metadata">

**Author:** ![darian.chen](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@darian.chen](https://pdfjs.community/u/darian.chen)\
**Post date:** [April 16, 2024, 9:08pm UTC](https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220/6 "2024-04-16T21:08:16Z")

</div>

Hi there,

We have not found any server failures on our end.

You will need to create a rest API key. You are currently using your license key as your API key.

Please see this guide: [PDF.js Express Utility API | Documentation](https://pdfjs.express/documentation/utils)

Best Regards,  
Darian

---

<div class="post-metadata">

**Author:** ![dev1](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@dev1](https://pdfjs.community/u/dev1)\
**Post date:** [April 17, 2024, 12:51am UTC](https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220/7 "2024-04-17T00:51:32Z")

</div>

Thanks for confirming.

Why do I need a REST API key?

Since the Utility API is not used, I think license key is fine.

---

<div class="post-metadata">

**Author:** ![darian.chen](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@darian.chen](https://pdfjs.community/u/darian.chen)\
**Post date:** [April 17, 2024, 2:10pm UTC](https://pdfjs.community/t/the-pdf-was-watermarked-for-a-certain-period-of-time/3220/8 "2024-04-17T14:10:16Z")

</div>

Could you let us know what features you are currently using? Are you using Express Viewer or Plus?
