Re: Getting "Expected input credential was not present" error when tried pullfundstransact

vidhya_al
Regular Visitor

Getting "Expected input credential was not present" error when tried pullfundstransaction in POSTMAN

I am trying to run pullfundstransactions API in POSTMAN but ending up with the error "Expected input credential was not present" inspite of passing the required base64 encding auth token in the header. Can someoen help to understand why this issue?

 

19 REPLIES 19
API_Products
Visa Developer Support Specialist

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

Hey there,

 

Thanks for asking this question in the community forum! Can you please make sure that you've included the client certificate in the key store, and also make sure that the correct key store is included in your SOAPUI project?

 

Please follow these instructions in the getting started guide - https://developer.visa.com/vdpguide#get-started-overview:

 

For openssl: “Creating PSCS12 (P12) Certificate Store using OpenSSL”

For java keytool: “Updating Java Key Store with Root Certificate and Client Certificate using Java Keytool”

Double check step 3 in “Testing Two-Way SSL Connectivity using SOAPUI”

 

Thank you,
Diana




Thanks,

Diana H.



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

akshaymhatre
Helper

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

I am getting the same error.

It works from the terminal for me using curl

curl --cert  /path/to/cert:password https://sandbox.api.visa.com/vdp/helloworld -H 'Accept: application/json' -H 'Authorization: Basic base64string'

But using the same certificate it gives me the error from inside the iOS app I am trying to build.

In fact it worked for me once and then stopped working and gives this error "Expected input credential was not present"

API_Products
Visa Developer Support Specialist

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

Hey there @akshaymhatre,                             

 

Please take a look at the guided steps provided in this community forum post to resolve the error you are seeing -

https://community.developer.visa.com/t5/Getting-Started-with-Visa/Getting-Started-Visa-Card-Eligibil...

 

Hope that helps and feel free to read the Q&A within this forum! You'll find some useful information and tips for your coding development.

 

 




Thanks,

Diana H.



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

akshaymhatre
Helper

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

It is working for me from SOAP UI and also from terminal. On the iOS App I am getting the error.

Here's the correlation id 1526445715_703_76_l55c003_VDP_ARM

akshaymhatre
Helper

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

any logs recovered from the CR?

API_Products
Visa Developer Support Specialist

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

Hi @akshaymhatre,

 

Can you please try using the most up to date iOS? What iOS are you using?

 




Thanks,

Diana H.



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

akshaymhatre
Helper

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

I was testing on iOS 11.2

API_Products
Visa Developer Support Specialist

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

Hi @akshaymhatre,

 

Please review the Visa Direct documentation via this link - https://developer.visa.com/capabilities/visa_direct/docs

 

In particular, see the top few paragraphs that are shaded in yellow that discuss the requirements to use Visa Direct.

 

After having read the documentation, if you meet those requirements, then please click through the link in those paragraphs to the Visa Direct Program Implementation Questionnaire, fill it out, and submit to the email address listed on that form. Please let us know if you have other questions.

 




Thanks,

Diana H.



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

akshaymhatre
Helper

Re: Getting "Expected input credential was not present" error when tried pullfundstransact

I am trying to use the foreign exchange rates API

https://developer.visa.com/capabilities/foreign_exchange/docs

 

The docs for that say the following:

 

The Foreign Exchange Rates API is available for use by any developer in sandbox and production. However, Visa retains the right to review your project implementation of this API prior to production on-boarding to ensure appropriate use of its features.

 

I am trying to use it in sandbox, so it should be working fine.

But I still get that error.