code 9123 error while connecting from mulesoft

exthvadlamu
New Contributor

code 9123 error while connecting from mulesoft

I am trying to test a connection b/w mulesoft and VISA sandbox and getting below error. 

 

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

 

- I am trying to use "https://sandbox.api.visa.com:443/dcas/cardservices/v2/cards/4883836336860016/cardstatus" endpoint and it is working fine in postman. 

- I added basic auth and configured TLS in mulesoft but still getting the above error. Below is my mulesoft configuration.

 

 

 

Capture.PNGCapture.PNG1.PNG 

4 REPLIES 4
jenn_kh
Community Moderator

Re: code 9123 error while connecting from mulesoft

Hi, @exthvadlamu. Thank you for reaching out! An agent is looking into this and will get back to you shortly. Until then, if any community members know a solution, please reply to this thread.

API_Managers
Visa Developer Support Specialist

Re: code 9123 error while connecting from mulesoft

Hi @exthvadlamu,

 

I ran a sandbox test and the API gave a successful request/response payload. Please see the below successful sample request/response. Check that MLE is enabled. Test again and please share the result with us.

 

If you're still getting an error, please provide the following information so that engineering can check the logs.

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

You can find the x-correlation-id in the response header.

 

Sample Request/Response Payload

End Point https://sandbox.api.visa.com/dcas/cardservices/v2/cards/f66ea6a9-8915-4d0c-8dc2-0d2b613d7996/pin
Method POST
Request
{
"pin": "12346",
"expirationDate": {
"mm": "09",
"yy": "23"
}
}
Response
{
"receivedTimestamp": "2023-12-01T22:42:08.374Z",
"resource": {"responseMessage": "SUCCESS"},
"processingTimeinMs": 8
}
Response Header
Status Code: 200
Server : nginx
Date : Fri, 01 Dec 2023 22:42:08 GMT
Content-Type : application/json;charset=UTF-8
Content-Length : 678
Connection : keep-alive
X-SERVED-BY : -59699695-7
X-CORRELATION-ID : 1701470528_217_282833338_-59699695-7_VDP_WS
X-APP-STATUS : 200
X-Backside-Transport : OK OK,OK OK
Accept : application/json
Cache-Control : no-cache, no-store, must-revalidate
pragma : no-cache
Expires : -1
X-Content-Type-Options : nosniff
X-Frame-Options : DENY ,SAMEORIGIN
X-XSS-Protection : 1; mode=block ,0
X-Global-Transaction-ID : 98695596656a614017db1861
encrypted : true
Content-Language : en-US
Strict-Transport-Security : max-age=31536000;includeSubdomains
Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-WebKit-CSP-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: code 9123 error while connecting from mulesoft

Hi @exthvadlamu,

 

Please let us know if the error is fixed, if so, I can take you off my contact list. 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: code 9123 error while connecting from mulesoft

Hi @exthvadlamu,

 

I haven't received a reply from you so I'll take you off my contact list. Feel free to reach out if you need help. 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.