Hi Team
I am trying to test the VISA DCVV service API using the Visa Development Center Playground tool, but getting a response as 'DER length more than 4 bytes: 111'.
Here are the details about the test for your reference and screenshot from tool. Could you please advise what has to be updated to make it work.
1. End Point : https://sandbox.api.visa.com/dCVV2/v1/PanDB/dCVV2GenerationRequest
2. Request Header : no header as checked-in VISA dev center playground.(Provided correct credentials for usser_ID and password in the Mutual-SSL authentication section)
3. Request Body :
{
"acctInfo": {"primryAcctNum": {
"panExpDt": "2019-11",
"pan": "4108940037956050"
}},
"cardAcceptr": {"clientId": "A98YG89AG80"},
"itemCount": "1"
}
4. Response Header (include the x-correlation-id) - Didn't receive one yet
5. Response Body -DER length more than 4 bytes: 111
Regards,
Shyed
Solved! Go to Solution
Thank you for reaching out, @shyed_abuthahir! An agent is looking for a solution for you and will get back to you shortly! If any community members know a solution, please feel free to respond in this thread. - Jenn
Hi @shyed_abuthahir,
I've logged incident INC13465669 for our engineering team to investigate the issue, I'll provide you with an update once I hear back from engineering.
Hi @shyed_abuthahir,
The code for the VDP Playground may need to be updated. However, please check to ensure that the key you are using in the tools starts with "-----BEGIN RSA PRIVATE KEY-----"
If it doesn't, see if you can run the following command by using the resulting key instead.
openssl rsa -in privateKey.pem -out key.pem
If this still doesn't work, you might have to use the code snippet instead of the VDP Playground Tool.
After you do this, please let me know if the issue is fixed.
Hi @shyed_abuthahir,
Is the issue fixed?
Hi @shyed_abuthahir,
I haven't received a reply from you so I'll take you off my contact list. Please do not hesitate to reach out to the community if you need further assistance.
i was also looking for the same thing
Hi @amalsur,
Let me know if you need help or if the error is fixed.
Hi Team,
Im facing the same error im getting below exception when 'im trying to decrypt the response from VISA. Please help
all cert was downloaded from Visa dashboard API credentials and i'm using sample source code give for MLE with 2 way SSL
DER length more than 4 bytes: 111
https://sandbox.api.visa.com/par/v1/inquiry/issuer
Encrypted Data:
Hello @Gnanasekaran,
The Payment Account Reference Inquiry API is a restricted product. Were you granted access to this API product? If you already have access to this product, please provide the following information below for further investigation of the error.
1. Endpoint
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.