Consent-requests init Error

HI @IntegrationSupport

When we calling API we getting 202 Accepted

https://dev.abdm.gov.in/gateway/v0.5/consent-requests/init

But On callback we getting response:

{“requestId”:“3e74230d-5fc2-45cc-8911-dae504c04eae”,“error”:{“code”:2500,“message”:“Error in making call to target system PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”},“timestamp”:[2023,8,11,5,11,29,362775000],“resp”:{“requestId”:“db3163df-7547-445f-95ef-097d746a4bd4”}}

However till yesterday it was workig fine

1 Like

@IntegrationSupport,

I am also facing the same issue.

1 Like

I am also facing the same issue.
@IntegrationSupport

Are you using ngrok for callback too ??
If you are then from the error it seems the ngrok site does not have valid certificates.

Facing the same issue as of today

error: {
      "code": 2500,
      "message": "Error in making call to target system PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
}

Please help with this @IntegrationSupport

How do you solve this?

PS: i am also using ngrok

hi @IntegrationSupport
We are getting most of the endpoint on webhook . which was working previously

I am not sure too but I am trying to see if I can use any other tool like ngrok.

Ah then this might be some Gateway error in processing the request.

I was able to solve it.
Use command: ngrok http https://localhost:PORT/
The command ngrok http PORT creates a tunnel from https to http (localhost). The above command creates a tunnel from https to https. We need to have proper SSL certificate.
Everything works as expected now!

It started working for me again. So I don’t think it is ngrok issue.

It started working for me again. So I don’t think it is ngrok issue.

Started working now . That issue looking like gateways