I have tested basic helloworld OK, and have payments/authorizations API working OK from VDCPlayground.
However when I try payments/authorizations API using MLE from a python program I get error below.
I'm using the example python fragments for MLE and they look to be encrypting the message OK.
Is it possible that support can determine what is wrong with my failed API request ?
Alternatively are there any full python examples over and above the MLE code fragments - showing a full working MLE API request ?
DEBUG:urllib3.connectionpool:https://sandbox.api.visa.com:443 "POST /acs/v1/payments/authorizations HTTP/1.1" 400 130
{'Server': 'nginx', 'Date': 'Thu, 10 Sep 2020 08:20:52 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '130', 'Connection': 'keep-alive', 'X-SERVED-BY': 'l73c013', 'X-CORRELATION-ID': '1599726052_425_90762159_l73c013_VDP_WS', 'X-APP-STATUS': '400', 'X-Frame-Options': 'SAMEORIGIN', 'X-XSS-Protection': '1; mode=block', 'X-Content-Type-Options': 'nosniff', 'Strict-Transport-Security': 'max-age=2592000;includeSubdomains', 'Cache-Control': 'no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '-1', 'X-Cnection': 'close'}
b'{"responseStatus":{"status":400,"code":"9125","severity":"ERROR","message":"Expected input credential was not present","info":""}}'
Solved! Go to Solution
Thank you for sharing that solution! 👏🏽👏🏽🏅
Dear s1007,
Could you please share your complete python code for MLE encryption, then pass the encrypted data through the API call and decrypting the response. I'm trying to test MLE in sandbox and it will be really helpful.
Best Regards,
Sasthi
Dear ricardo_visa,
Could you please help us with the complete python code. We have got the encryption and decryption python script in the MLE guide section. But integrating that code with the API call code is an issue I'm facing.
Best Regards,
Sasthi