# Handling the empty pdf

**URL:** <https://community.automationedge.com/t/handling-the-empty-pdf/2822>\
**Category:** Get Help & Discuss\
**Created:** [February 16, 2021, 2:24pm UTC](https://community.automationedge.com/t/handling-the-empty-pdf/2822 "2021-02-16T14:24:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramakrishna](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@ramakrishna](https://community.automationedge.com/u/ramakrishna)\
**Post date:** [February 16, 2021, 2:24pm UTC](https://community.automationedge.com/t/handling-the-empty-pdf/2822/1 "2021-02-16T14:24:07Z")

</div>

i have a work flow…there are some pdfs in a folder…so i want to check the extracted pdf is empty or not …, if it is empty it should log the error

---

<div class="post-metadata">

**Author:** ![hemanshu.rukadikar](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/hemanshu.rukadikar/32/606_2.png) [@hemanshu.rukadikar](https://community.automationedge.com/u/hemanshu.rukadikar)\
**Post date:** [March 23, 2021, 2:46pm UTC](https://community.automationedge.com/t/handling-the-empty-pdf/2822/2 "2021-03-23T14:46:31Z")

</div>

Hi @ramakrishna,

Have you been able to resolve your issue?

---

<div class="post-metadata">

**Author:** ![fbaldin](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/fbaldin/32/99_2.png) [@fbaldin](https://community.automationedge.com/u/fbaldin)\
**Post date:** [March 24, 2021, 3:29am UTC](https://community.automationedge.com/t/handling-the-empty-pdf/2822/3 "2021-03-24T03:29:54Z")

</div>

Hi @ramakrishna

Have you tried te PDF to Text plugin and after that if the PDF is empty the txt file should be empty as well.
