-
Is there any way to make an HTTP Sender destination work in a way where it will only execute the retries if a specific error comes up? For example, I am working with an API call that will sometimes return a "No Data" "error" which isn't really an error if no data exists, so the API will retry X amount of times. Is there a way to avoid this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, set the response to RAW and handle setting response to "SENT" "ERROR" "QUEUED" as you see fit. You need to handle everything in that case including the response code (e.g. the 200, the 401), what to set the response status to, JSON.parse the message and so on. |
Beta Was this translation helpful? Give feedback.
Yes, set the response to RAW and handle setting response to "SENT" "ERROR" "QUEUED" as you see fit.
You need to handle everything in that case including the response code (e.g. the 200, the 401), what to set the response status to, JSON.parse the message and so on.