# Forcing a failure/error

**URL:** <https://community.postman.com/t/forcing-a-failure-error/37600>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [July 27, 2022, 9:16am UTC](https://community.postman.com/t/forcing-a-failure-error/37600 "2022-07-27T09:16:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbatu](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@dbatu](https://community.postman.com/u/dbatu)\
**Post date:** [July 27, 2022, 9:16am UTC](https://community.postman.com/t/forcing-a-failure-error/37600/1 "2022-07-27T09:16:09Z")

</div>

Hello,  
How can I force a failure using Postman? I want to see the error message that pops up when a failure happens while uploading an image to a website to check the size and the content of the message.  
This is what the error message looks like:

 ![force error](https://us1.discourse-cdn.com/getpostman/original/2X/c/c188dd262ad9e457ae4f4975594bdb745d3a76cb.png)

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [July 27, 2022, 11:52pm UTC](https://community.postman.com/t/forcing-a-failure-error/37600/2 "2022-07-27T23:52:37Z")

</div>

Hi @dbatu

I think you would need to provide more information.

What is the request that you are sending?  
Could you provide a screenshot?

What condition would expect to trigger this error?  
For example, if the file had an incorrect name or format?
