Getting error with foreign exchange API.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting error with foreign exchange API.
Hi Twitter dev team,
I am getting validation error in calling foreign exchange rate API from sample code downloaded from your site.
- I passed the correct credentials.
- I converted cert.pem file to p12 file first and then from p12 converted to jks file.
- Please suggest if I am doing something wrong.'
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://sandbox.api.visa.com/forexrates/v1/foreignexchangerates": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Getting error with foreign exchange API.
Hi @kamalmehta,
I'm happy to help resolve your issue. I've logged INC9680984 for the engineering team to review. Someone will reach out to you with an update soon.
Thanks,
Diana
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Getting error with foreign exchange API.
Hey @kamalmehta,
Can you please let us know if the issue still requires an investigation? Thanks and we're happy to help.