Re: Error: Expected input credential was not present in postman

Tharun
New Contributor

Error: Expected input credential was not present in postman

Hi,

I'm working to implement the API POST: https://sandbox.api.visa.com/forward/cardservices/v1/programs/123123123/cards, and I'm facing an issue when triggering the API.

Here is the request I'm sending:

{
"formType": "PHYSICAL",
"customization": {
"imageId": "89282928",
"cardStockId": "9029202",
"collateralId": "292029202",
"expirationDate": {
"mm": "11",
"yy": "23"
}
},
"profile": {
"lastName": "Miller",
"firstName": "Alex",
"emailAddress": "alexmiller@example.com",
"address": {
"primaryAddress": {
"city": "San Francisco",
"countryCode": "USA",
"postalCode": "94105",
"region": "CA",
"line2": "Unit D1",
"line1": "1000 Main Street"
}
},
"phoneNumber": "9999999999",
"title": "Engg",
"suffix": "Mr"
},
"idempotentId": "2342420-1094092-1abcdo02-10292",
"accountNumber": "92029201918"
}

Here is the response I'm receiving:

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

The above data is the input and the response.

I have configured the certificate (CRT file) and key file. When triggering the Visa Developer "helloworld" API, I receive a 200 status response. However, when using the same certificate and private key with the above request, I receive the error "Expected input credential was not present."

2 REPLIES 2
jenn_kh
Community Moderator

Re: Error: Expected input credential was not present in postman

Hi @TharunThank you for reaching out. One of our agents will look into this and get back to you soon. Until then, if any community member knows a solution, feel free to reply to this thread.

API_Products
Visa Developer Support Specialist

Re: Error: Expected input credential was not present in postman

Hey @Tharun,

 

Please refer to the Visa Developer Error Codes page for cause/resolution of the error. If the error persists, please share the information below for further investigation.

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.

 




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.