generalinquiry API not working

research_qcentu
Regular Visitor

generalinquiry API not working

Hi All,

  I had been clone the cybersource java SDK  and  testing the httpsignature. java file and it is working in a the standalone application but if call the sendPost/sendGet method with any config changes, it is not working in my application, it gives an error as 401 UNAUTHORISED - {"response":{"rmsg":"Authentication Failed"}}. .

 

Do I need to do any config changes in getDigest/ getSignatureParam methods ?

 

Can you please help me on it ASAP , as I am stuck for past 2 weeks?

 

 Regards,

 

 

2 REPLIES 2
API_Products
Visa Developer Support Specialist

Re: generalinquiry API not working

Hi @research_qcentu,

 

I will take a look and someone will get back to you soon. 

 




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.

API_Products
Visa Developer Support Specialist

Re: generalinquiry API not working

Hi @research_qcentu,

 

After further investigation, it looks like you may have misconfigured the filed in the configuration file. Please use the default values in the SDK and make a call to make sure that the SDK works fine.

 

Depending on which authentication method is being used, you will need to populate configuration filed correctly.

 

20190614 CyberSource Github rest samples csharp.jpg




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.