Not receiving /v0.5/links/link/confirm from the gateway using Discovery Flow

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.

  1. Search for the HIP - in our case “Nikshay”
    image

  2. 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)

  1. All the visible care contexts are shown for the patient searched.

  1. 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)

  1. 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.

Hey @akhil,

As we can see this is related to sandbox environment,
can you please check now.
Meanwhile let me get in touch with team and see the flow.

Thanks

Hi @Shubhanshu_S

We tried it out again. The same error showed up.

Hi @Shubhanshu_S

Exact same issue for us also. Is it solved or not?

Thanks
SALAHUDHEEN

Hey @akhil / @salahudheen,

This issue is raised generally when the OTP service is not implemented at your end.
Please implement that first and then it will work as expected, in case of difficulty feel free to reach.

Thanks

Could you please explain how will it work with the OTP service? since that is independent of ABDM since we will be sending the SMS from our side and is not related to ABDM.

Even if we implement that we are not sending any other info apart from calling (http://dev.abdm.gov.in/v0.5/links/link/on-init). We are anyways calling this currently…

Shouldn’t we get the OTP on our callback /v0.5/links/link/confirm irrespective of the otp entered by the user? Our issue is that we are not receiving anything in our callback url with the OTP details.

@akhil,

OTP you will get but authorization should be handled at your end.

Thanks

Yes, we understand that! But we are not getting any request on our callback url on /v0.5/links/link/confirm

How will we do the authorization when we are not receiving the request /v0.5/links/link/confirm with the OTP entered on the PHR App?

@akhil

did u get the soln to this?