How to get the body of a HTTP module with an error code?

Hi!

In my scenario, I’m using a HTTP module to make an API call.
The call is set to return a 403 error with a body explaining the issue. However, I can’t find a way to get the body sent in the response if the HTTP is set to “Evaluate all states as errors (except for 2xx and 3xx )”.

Do you know a way to do this?
Thanks!

As you can see, there is no body if the module throws an error.

Screenshot_2024-07-09_090752

That’s a great idea! I’m sure others would agree that this is a nice feature to have.

You can submit this suggestion to the Idea exchange, under Platform ideas and improvements.

Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
Screenshot_2024-01-17_130153

The current workaround is to leave the field set to “NO”, and use a router with filters depending on the status code.

Screenshot_2024-07-09_090710

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

2 Likes

Thanks Sam!

I added the request here:
https://www.make.com/en/platform-ideas/p/module-http-process-the-body-of-a-response-when-the-code-isnt-2xx-3xx

If someone finds this post, upvote the request!
Thanks!

2 Likes