I am trying to access the VISA Travel Predict API – (https://developer.visa.com/capabilities/visa-travel-predict) for one of our Projects. I have already set up the Two-Way SSL for accessing the API by following the instructions on - https://developer.visa.com/pages/working-with-visa-apis/two-way-ssl.
I created a helloWorld endpoint as explained in the tutorial and I am getting the expected output.
However, I am not able to access the scorerange endpoint of the API through Postman and neither from a script that I have written. I have added the private key and certificate in postman and I am using the basic authentication with the username and password that are available in the app.
I have also written a similar Python code as was mentioned in the tutorial. But even that does not work. Below is the error.
requests.exceptions.ConnectionError: ('Connection aborted.', PermissionError(13, 'Permission denied'))
Could you please let me know where I am making a mistake?
Solved! Go to Solution
The error 400 - 9124 usually means that the client certificates are not sent. Please check the following in Postman:
Settings => Certificates: add your client certificates
Settings => General Tab: SSL Certificate Verification is ON
Please refer to the below thread for details on Postman setup. All details including screenshot is posted here.
Hope this helps, please reach out if you need further assistance.