error web service

error web service

  

Good morning I need to get the error message that the web service is returning, but only I get the error of the service, someone already had to do this?


I want to get the error, but I'm just getting the 400 BadResquest

Solution

Hi,


If I undertand you correctly, you need to add an OnAfterResponse when you consume the Webservice.

This way you can "read" the content and parse it accordingly.

see: https://success.outsystems.com/Documentation/10/Extensibility_and_Integration/REST/Consume_REST_APIs/Simple_Customizations


For example



Solution