Hi Team
Please suggest what is wrong in the flow below. In order to link care contexts using the discovery flow, we are using the below method.
-
Search for the HIP - in our case “Nikshay”
-
Click on Fetch Records
We received the discover request ( v0.5/care-contexts/discover) from the callback url and respond to the request using on-discover request ( https://dev.abdm.gov.in/gateway/v0.5/care-contexts/on-discover)
- All the visible care contexts are shown for the patient searched.
- OTP screen is shown after the user clicks on the “Link Selected” button - We received a call on (/v0.5/links/link/init) to initiate the linkage. We call the (http://dev.abdm.gov.in/v0.5/links/link/on-init)
- After entering the OTP an error shows up “Unknown Error occured.”
We do not receive the ( /v0.5/links/link/confirm) request from the ABDM gateway as well.
Kindly help us out here so that we can complete the user initiated workflow. This implementation is blocked on this currently.