AnsweredAssumed Answered

How to access the Context Variables which have the error messages for routing failure

Question asked by suhas.mv on Apr 17, 2017
Latest reply on Apr 18, 2017 by orrde01

We are trying to handle the routing assertion failure errors such that we can send the exact error to the consumer. The routing can fail with various reasons like Certificate not found, Certificate Not Trusted, Server Not found etc. These errors can be seen in Gateway Audit Events. But How can i get these messages to a template response? Is there any context variable where this will be saved?

 

Note : We have tried using ${httpRouting.reasonCode} , But this gives the high level error, not the exact error which is shown on Gateway Audit Events.

Outcomes