HTTP statuses other than 2xx- tips how to treat them as incomplete?

Hey everyone,

I’m working with an API that often throws 4xx and 5xx status codes, even during maintenance.

Check out this screenshot for reference:

Zrzut ekranu 2023-10-12 o 03.48.50

I’ve got some routers and email alerts set up, but I’m having an issue: even when the scenario doesn’t run as it should, Make system still thinks it’s a success- HTTP module is marked as success.

Running the payload again with Postman is a bit of a time sink. Any ideas on how to:

  1. Quickly re-run these failed scenarios? Using database to store JSON payloads?
  2. Get them flagged as errors or incomplete?

Details about the scenario:

  • Trigger: Webhook
  • Method: POST
  • Payload: JSON
  • Data: Parsed from a set

Source- Tilda.cc, target- invoicing system.

Any tips would be super appreciated. Thanks!

If you’re using the HTTP “Get request” module, you’ll need to Show advanced settings, then the first field (Evaluate all states as errors) set to “Yes”.

Screenshot_2023-10-12_135947

4 Likes

OMG, I totally forgot that this option is at the top not bottom when switching to advance… what a shame.

Thank you!

2 Likes