I am working on integrating with our certification environment. Right now I am just trying to get any request to this environment to work. I am building the requests in the same way I did in sandbox, and I have tried using both Postman and Java (both of which were successful in the sandbox env), but against the certification environment my requests are failing with the following error:
{
"responseStatus": {
"code": "9501",
"severity": "ERROR",
"message": "Invalid input found, please correct the input data",
"info": "",
"status": "400"
}
}
I am able to hit GET https://cert.api.visa.com/vdp/helloworld successfully, but, for example GET https://cert.api.visa.com/vop/v1/offers/community?communityCode=foo fails with the above error. Is there anything special I need to be doing to hit the VOP endpoints in the certification environment that isn't required in sandbox or for the helloworld endpoint?
Hi @RehsusMacaque, Thank you for reaching out. An agent will get back to you as soon as possible. Until then, if any community member has information that may be helpful, feel free to reply in this thread.
Thanks for the reply. I ended up figuring it out. My requests to GET https://cert.api.visa.com/vop/v1/offers/community?communityCode=foo were failing due to not having access to this endpoint (according to a Visa contact I've been communicating with via e-mail.
I was also seeing requests to POST https://cert.api.visa.com/vop/v1/users/enroll fail in the same way, and in this case it was due to still using the SANDBOX community code in the requests, instead of a valid community code in our certification environment. So for any future people that find this thread because they are running into the same error, verify that you have access to the endpoint you're trying to call and that you are using a valid community code.
Hey @RehsusMacaque,
Thanks for sharing the solution with us. Have a nice day! 🙂