# Input filter that looks for 404 Error from previous step

**URL:** <https://connective.celigo.com/t/input-filter-that-looks-for-404-error-from-previous-step/1057>\
**Category:** Integrator.io\
**Tags:** http, filter, error-handling\
**Created:** [December 16, 2021, 7:32pm UTC](https://connective.celigo.com/t/input-filter-that-looks-for-404-error-from-previous-step/1057 "2021-12-16T19:32:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniellougheed](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@daniellougheed](https://connective.celigo.com/u/daniellougheed)\
**Post date:** [December 16, 2021, 7:32pm UTC](https://connective.celigo.com/t/input-filter-that-looks-for-404-error-from-previous-step/1057/1 "2021-12-16T19:32:29Z")

</div>

Is it possible to use an input or output filter via error code or status code? I am looking to only go to a final step if the record is missing or not found. returning a 404

---

<div class="post-metadata">

**Author:** ![katelarson](https://avatars.discourse-cdn.com/v4/letter/k/91b2a8/32.png) [@katelarson](https://connective.celigo.com/u/katelarson)\
**Post date:** [December 20, 2021, 3:11pm UTC](https://connective.celigo.com/t/input-filter-that-looks-for-404-error-from-previous-step/1057/2 "2021-12-20T15:11:07Z")

</div>

Hi @daniellougheed -  
It looks like you're working with our Support team on this. If you get a chance to post an update to the community once it's resolved in case someone else has this question, that would be great.

Thanks,

Kate

---

<div class="post-metadata">

**Author:** ![cjsell](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@cjsell](https://connective.celigo.com/u/cjsell)\
**Post date:** [April 21, 2023, 8:32pm UTC](https://connective.celigo.com/t/input-filter-that-looks-for-404-error-from-previous-step/1057/3 "2023-04-21T20:32:07Z")

</div>

Hello! Have there been any updates on this case?

Thanks!

---

<div class="post-metadata">

**Author:** ![anithaabraham](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/anithaabraham/32/6964_2.png) [@anithaabraham](https://connective.celigo.com/u/anithaabraham)\
**Post date:** [May 2, 2023, 10:24am UTC](https://connective.celigo.com/t/input-filter-that-looks-for-404-error-from-previous-step/1057/4 "2023-05-02T10:24:43Z")

</div>

@cjsell, Support provided guidance after analyzing the specific customer use case. Could you please explain your use case so that we can help you?

Meanwhile, here are two references that might be helpful:

- [Throwing an error using the Post Submit hook](https://connective.celigo.com/t/throwing-an-error-using-post-submit-hook/738)
- [Ignore specific errors in a Post Submit hook](https://docs.celigo.com/hc/en-us/articles/360045807112-Ignore-specific-errors-in-a-postSubmit-hook)

Thanks!

---

<div class="post-metadata">

**Author:** ![cjsell](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@cjsell](https://connective.celigo.com/u/cjsell)\
**Post date:** [May 3, 2023, 5:41pm UTC](https://connective.celigo.com/t/input-filter-that-looks-for-404-error-from-previous-step/1057/5 "2023-05-03T17:41:06Z")

</div>

@anithaabraham, Thank you for the response on this!

We are performing a GET request to an HTTPS endpoint to check if a record is missing in the endpoint's system. If the record is missing, however, the endpoint throws a 404 error code (with a message stating why the 404 code) instead of a simple "Missing record" message. This in turn causes the Celigo flow to error at this stage. We would like for the 404 error message to be ignored and ultimately passed to the next step in the flow.

Thank you!

CJ

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [May 5, 2023, 2:32pm UTC](https://connective.celigo.com/t/input-filter-that-looks-for-404-error-from-previous-step/1057/6 "2023-05-05T14:32:23Z")

</div>

@cjsell you can use this functionality:

 ![5301043caa20740200000001-bf73e230f6ba4e56b003c54b7e7cfd2b.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/0/02b8d70504f568712f138ce363533b3b8a88480b.png)

 ![5301043caa20740200000001-798e878b6d9c42c68ac249ea699a0261.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/b/bd6af804e95086d1fec782793f08846d4a42077c.png)

You also would need to response map the errors or status code so you could filter or branch on it later.

 ![5301043caa20740200000001-d8eeb5fd1fe140c9b134bb57ff0fef9a.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/e/e2f230442c3b52b2cd98d81dd86faf4cc5bfeee1.png)
