Re: Error Response VPP API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
July 2019
July 2019
Error Response VPP API
Hi,
I am trying to integrate VPP API, and I have queries regarding errors. My observations:
1) Authentication failures(username, password incorrect) throws a 401 response. The response body is not encrypted in this case.
2) If authentication passes but in response we receive an action code or errors (like incorrect card length) we get it in encrypted form.
Are these valid assumptions?
1) If not, in what cases do we get an encrypted/decrypted responses?
2) Are the HTTP status code we receive strictly adhering to standard HTTP status codes?
3) We have the list of action code mapping. Can we have similar code mapping for error codes?(when http status code != 200)
Thanks
Asish Panda
Thanks
Asish Panda
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
July 2019
July 2019
Re: Error Response VPP API
Hey @kranti-rzp,
For questions 1 and 2, I'll take a look and get back to you soon. For question 3, please navigate to the links below for error codes.
Error Codes for Visa Payments Processing - https://developer.visa.com/capabilities/vpp/docs-error-codes
Visa Developer Error Codes - https://developer.visa.com/pages/visa-developer-error-codes
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
July 2019
July 2019
Re: Error Response VPP API
Thanks for the quick response.
In the below error, we also get an error code + the error message. Can we have the map of all the possible error codes we could receive in the below format?
{\"body\":{\"msgIdentfctn\":{\"correlatnId\":\"C8ajYpLdMm3nQD\",\"reqstId\":\"018EA6E6259C21A74B1A5B940362889A\"},\"error\":{\"code\":\"251\",\"msg\":\"Invalid Primary Account Length\"}}}
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
July 2019
July 2019
Re: Error Response VPP API
Hey @kranti-rzp,
I can only find VPP error codes in this format. https://developer.visa.com/capabilities/vpp/docs-error-codes