Response error in custom app communication module

Hi everyone,

I’m currently working with the communication module in Make.com and using GraphQL queries and mutations. I’ve encountered an issue where the API always returns a 200 status code, even if there’s an error in the query or mutation. For example, when trying to create an item that already exists, I only find out about the error from the response body, not the status code.

Is there a way to directly handle these kinds of errors within the communication module? Specifically, I need to check the response body for errors and handle them accordingly, since the status code is not indicating the error.

Any advice or examples on how to properly manage this situation would be greatly appreciated.

Thank you!

Create activity with same name returns no output:
image

Response in concole:
image

Module communication:

Thank you for answer. Well, I am using most basic account in Make.com so I have no access to functions (if I understood it right) and not found solution in documents. So if there is solution directly in module, for example somehow add error.data to response or something like that?

read here, you need to do something to get custom functions for your app

samliewrequest private consultation

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

2 Likes

Well, I wrote question with link in discord in custom-apps. Maybe it will help. Thank you for reply

Problem solved. I tried to solve it in modules instead of app base

2 Likes