Re: 400 9125 Expected input credential was not present

Solved! Go to solution
dasigor
Regular Visitor

400 9125 Expected input credential was not present

Hello,

I'm encountering an error when attempting to use the Visa API with Two-Way SSL. Below are the error details:

 

{
"responseStatus": {
"status": 400,
"code": "9125",
"severity": "ERROR",
"message": "Expected input credential was not present",
"info": ""
}

Correlation ID: 1729082461_517_769279234_-5456c5j4_VDP_WS

I'm using Two-Way SSL for authentication, and the client certificate and private key are configured correctly in the request. Here is the setup and troubleshooting I’ve done so far:

  1. Endpoint: I’m targeting the sandbox environment and verified the endpoint URL. endpoint : https://sandbox.api.visa.com/aliasdirectory/v1/aliases
  2. Request Headers: I've included the necessary headers, such as "Authorization": f"Basic {encoded_auth}", "Accept": "application/json", Content-Type: application/json.
  3. Request Body: I'm sending a JSON payload as specified in the API documentation.
  4. SSL Configuration: Using a valid client certificate and private key for mutual SSL (Two-Way SSL). I've verified that the certificates match and are working with other Visa endpoints.
  5. Response: The server returns the error 9125, mentioning that an input credential is not present.

I would like to clarify the following:

  • Are there any additional credentials or configurations required that may not be explicitly documented?
  • Is it necessary to use the DigiCert Global Root CA certificate for the Two-Way SSL configuration, and if so, could that be related to this error?

Additionally, I’ve tried disabling the SSL verification temporarily to see if the certificate might be causing an issue, but the same error is returned. Also the VD playground give me the same error.

 

I appreciate any guidance on resolving this, as I need to proceed with testing and further integration. Thank you!

 

 

 

 

 

1 REPLY 1
dasigor
Regular Visitor

Re: 400 9125 Expected input credential was not present

the problem was MLE enforced.

now i have 401 9123...