[Twilio Connector] TwilioMessage Response

[Twilio Connector] TwilioMessage Response

  
Forge Component
(7)
Published on 18 Oct by OutSystems
7 votes
Published on 18 Oct by OutSystems
Calling TwilioMessage action and capture its Response output parameter. Expect to use this Response return value to control the subsequent action/logic.
However, the TwilioMessage action raise an exception error instead of proper return with the Response for some errors such as Status 400/401/etc.
Anyway to achieve the expectation to get the proper Response return value instead of exception?
Hi Wee,

Is the exception raised by the remote service or inside the wrapper action? Anyway, you can use an Error Handler to get the exception and set some error condition in your code.

Cheers
It seems to me that the exception is triggered by REST API and not handled in the logic action.
Yes, has use the Error Handler to control the error condition. Thanks.