Re: Error "Expected input credential was not present" on postman for transaction history e

João
Helper

Error "Expected input credential was not present" on postman for transaction history endpoint

Hello all,

I am trying to get transactions history on postman for sandbox API, but always getting the error "Expected input credential was not present". 
I have send the certificates and the required data in body, header and authentication, but it is not working yet. 

Below I show my Postman configuration:

 

URL and Params:

image.png

 

Authorization:

image.png

 

Headers (request):

image.png

 

Body (request  - PRINT):

image.png


Body (request - CODE): 

{
  "companyId": "80080080_001_00000203",
  "clientId": "Visatech_0786",
  "pageNumber": "1",
  "issuerBid": "80080080",
  "endDate": "07/07/2022",
  "requestID": "62CDD29B-426B-493A-8CF4-2D5BD2308A4B",
  "serviceKey": "105536146570736543",
  "accountNumber": "4712563630000001",
  "maxRecordsToReturn": "200",
  "startDate": "08/08/2022"
}

 

Header (response):

image.png

 

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

5 REPLIES 5
João
Helper

Re: Error "Expected input credential was not present" on postman for transaction history e

Certificate configuration print:

image.png

jenn_kh
Community Moderator

Re: Error "Expected input credential was not present" on postman for transaction history e

Hi, @João! Thank you for reaching out. An agent will get back to you as soon as possible. In the meantime, if any community members have ideas you feel may help, please share them here. -Jenn

I_Doroteo3
Visa Developer Support Specialist

Re: Error "Expected input credential was not present" on postman for transaction history e

Hi @João

 

Do you also have Message Level Encryption (MLE) authentication for your project? B2B Payment Controls requires the use of MLE due to the nature of account information being sent.

 

For more information, please see the Visa B2B Controls Authentication Method page.

 

Thanks, 

Illana

João
Helper

Re: Error "Expected input credential was not present" on postman for transaction history e

Hi, Thanks for your reply @I_Doroteo3 .

 

Yes, probably that was the problem. I didn't have configured the Message Level Encryption (MLE). Thx for the observation. 

I was trying to implement the MLE, but I am having some difficulties. I am following this tutorial:
How to test MLE on Postman

Do you know if there is a way to implement the MLE on postman without using a node.js server, just using the postman by itself?

 

Thanks,

João Brosin

I_Doroteo3
Visa Developer Support Specialist

Re: Error "Expected input credential was not present" on postman for transaction history e

Hi @João

 

Apologies for the late response, I will look into this and get back to you. 

 

Please also checkout this Visa YouTube tutorial on MLE: https://www.youtube.com/watch?v=YMDox3Yh2jY

 

Thanks, 

Illana