# Extract Information Block: URLs are being auto-validated and break the flow

**URL:** <https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464>\
**Category:** Community Discussion\
**Created:** [April 13, 2025, 4:29am UTC](https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464 "2025-04-13T04:29:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AliAlbarran](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AliAlbarran](https://community.mindstudio.ai/u/AliAlbarran)\
**Post date:** [April 13, 2025, 4:29am UTC](https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464/1 "2025-04-13T04:29:20Z")

</div>

## I’m building a flow in which the user uploads 2 or 3 PDF files and asks a question that should be answered by analysing and linking the content of all the documents. Everything works well except that the `Extract Information from Document` block automatically detects and attempts to validate URLs or DOIs found in the text, which either breaks the flow or prevents the output from generating correctly. Even when the prompt explicitly instructs the model **not to follow or use links** , the system still tries to process them.

How can this be avoided?

- Is there a way to disable the automatic URL/DOI validation?
- Is this behaviour coming from the `Extract Information` block or the base model?  
Thanks for any help you can offer.

 ![Captura de pantalla 2025-04-12 a la(s) 10.24.48 p.m.](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/940256492333e24739413e0b3e53f0ac4d15c3b5.jpeg)

---

<div class="post-metadata">

**Author:** ![jerry-mindstudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/jerry-mindstudio/32/26_2.png) [@jerry-mindstudio](https://community.mindstudio.ai/u/jerry-mindstudio)\
**Post date:** [April 14, 2025, 1:22am UTC](https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464/2 "2025-04-14T01:22:39Z")

</div>

Can you post screens of the debugger where it breaks? Can you post the files you are uploading along with a public use link? This will help us test.

Thanks,

---

<div class="post-metadata">

**Author:** ![AliAlbarran](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AliAlbarran](https://community.mindstudio.ai/u/AliAlbarran)\
**Post date:** [April 14, 2025, 2:25am UTC](https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464/3 "2025-04-14T02:25:08Z")

</div>

Thanks for the reply, Jerry. Here is the screenshots. I only can post 1 image at the time… and i have a video about the agent working and crashing. The materials are on my puter. May I send you the materials for mail?

 ![Captura de pantalla 2025-04-13 a la(s) 8.17.45 p.m.](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/ccaf4c989a2f9b81259c77cd19efaf61f26ede7b.jpeg)

---

<div class="post-metadata">

**Author:** ![jerry-mindstudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/jerry-mindstudio/32/26_2.png) [@jerry-mindstudio](https://community.mindstudio.ai/u/jerry-mindstudio)\
**Post date:** [April 14, 2025, 3:40pm UTC](https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464/4 "2025-04-14T15:40:49Z")

</div>

Are you referring to the Extract Text from File block? Can you post a PDF that errors out for you? I can test if so.

---

<div class="post-metadata">

**Author:** ![AliAlbarran](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AliAlbarran](https://community.mindstudio.ai/u/AliAlbarran)\
**Post date:** [April 14, 2025, 4:27pm UTC](https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464/5 "2025-04-14T16:27:27Z")

</div>

yes, and as the images shows the extract block doesn’t read it as a plain text, converts everything into links…  
here’s one pdf: [supportingCognition.pdf - Google Drive](https://drive.google.com/file/d/18rr-5uGK8TkrANRx3XkICO-Hh3E5ydxv/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![jerry-mindstudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/jerry-mindstudio/32/26_2.png) [@jerry-mindstudio](https://community.mindstudio.ai/u/jerry-mindstudio)\
**Post date:** [April 14, 2025, 8:17pm UTC](https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464/6 "2025-04-14T20:17:16Z")

</div>

I think I know what’s going on. For file uploads, you can set the input to extract text OR return the URL of the file. If you set the input to extract text (which it looks like you have), then you don’t need the ‘Extract Text from File’ block because you already have the text. You are most likely extracting text from file and then passing text (not URL) into ‘Extract Text from File’ which is why it thinks every row of text is an invalid URL.

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/d5199aadc3b176ab73b504bc5c72f168e4a40f0b.png)

---

<div class="post-metadata">

**Author:** ![AliAlbarran](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AliAlbarran](https://community.mindstudio.ai/u/AliAlbarran)\
**Post date:** [April 14, 2025, 9:54pm UTC](https://community.mindstudio.ai/t/extract-information-block-urls-are-being-auto-validated-and-break-the-flow/464/7 "2025-04-14T21:54:04Z")

</div>

> [@jerry-mindstudio](#):
>
> I think I know what’s going on. For file uploads, you can set the input to extract text OR return the URL of the file. If you set the input to extract text (which it looks like you have), then you don’t need the ‘Extract Text from File’ block because you already have the text. You are most likely extracting text from file and then passing text (not URL) into ‘Extract Text from File’ which is why it thinks every row of text is an invalid URL.

i’ll try, thanks alot.
