I have an orchestration that receives a request from the local recreation service, and then sends the request to another remote Rest service, and then if the remote service successfully returns a response with 200 HTTP code, BizTalk can process the response message, but if the HTTP response is different code 200 BizTalk was unable to process the error message.
BizTalk log gives below error in event viewer.
Details:"System.Net.WebException: The remote server returned an unexpected response: (400) Bad Request. {"errorMessage":{"message":"En az 1 adres alani gereklidir.","moreInfoURL":"http://paritus.com/kb/api-errors","status":400}}".

After this problem, I add a failure operation to the send port, but BizTalk still could not catch the error message. Do you have an idea?
source share