Connect-REST: Error handling using ConnectionProblem FLow
Hi All,
I have implemented ConnectionProblem FLow in my Connect-Rest and it is working perfectly fine when an exception occurs like ( Service not available, or if I provide wrong end point URL).
But ConnectionProblem flow is not getting invoked whem I am getting a Fail response from the service e.g. below -
pyStatusMessage : the HTTP response code of 400 indicated a client error. The response data may contain a reason.
pyHTTPResponseCode: 400
pyStatusValue: Fail: Unexpected HTTP 400 Response code
Can anyone tell what configuration I am missing here?
Regards
Amit
| the HTTP response code of 400 indicated a client error. The response data may contain a reason. |
Hi,
Error Handler Flow will get invoked when Connector is unable to connect to external system as mentioned like providing wrong URL or Service is unavailable. When Service is available and returns wrong response this flow shouldn't get called.
Error handler flow
Optional. Identify a flow rule to route work items that cannot continue in its current flow because this connector rule was unable to connect to the external system. The default flow rule Work-.ConnectionProblem provides one approach for handling such problems. See Handling connector exceptions.