We have had multiple clients facing issues with the UIDAI website being slow. This slows their onboarding funnel. We have increased our timeout to 60 seconds to account for this, however it still doesn't let our clients know what is the status of this issue.
This also occurred recently with PAN APIs as the IT Portal was getting revamped.
We want to solve for all cases where we have an upstream endpoint , a 3rd party not being responsive. The objective is to equip our customers with downtime information that lets them better manage their onboarding process.
There are two primary issues we are trying to address -
The journey with the downstream endpoint breaks somewhere in the middle
The downstream endpoint is not responsive or unreachable or it is down
Our immediate priority is to solve for problem #1. We will prioritise the Aadhar ID first.
There are 4 places where the user journey might break i.e.
verifyCaptcha
verifyOTP
verifyAadhaar
getCaptcha
Whenever our downstream webpage doesn't let us proceed for the following or is throwing errors in spite of providing the correct data, we will return a 50X response.
This will be a synchronous response to the API requests we get.
The intent of this development is to enable internal teams to monitor and take actions in a timely manner. This is mainly instrumentation and alerting.