# Check if PDF is generated or not in synthetic

**URL:** <https://community.dynatrace.com/t/check-if-pdf-is-generated-or-not-in-synthetic/18975>\
**Category:** Synthetic Monitoring\
**Tags:** http-monitor, browser-monitors\
**Created:** [April 6, 2020, 12:28pm UTC](https://community.dynatrace.com/t/check-if-pdf-is-generated-or-not-in-synthetic/18975 "2020-04-06T12:28:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [April 6, 2020, 1:30pm UTC](https://community.dynatrace.com/t/check-if-pdf-is-generated-or-not-in-synthetic/18975/2 "2020-04-06T13:30:34Z")

</div>

In general you should be able to check response headers. if PDF is not generated you should be able to see html page that is affected by error. When PDF is generated, you will get file so headers would be different.

```auto
Content-type:application/pdf

```

It’s not possible to validate PDF content.

Sebastian

---

_[View the full topic](https://community.dynatrace.com/t/check-if-pdf-is-generated-or-not-in-synthetic/18975)._
