Visa Developer Community

Regular Visitor

Authentication Error logging information

Hi, trying to do SSL authentication. I have my basic authentication + certificate + key, but am receiving a 403 with a pretty uninformative message:

{
  "status" 403,
  "reason": "AUTHENTICATION_ERROR",
  "message": "Access Denied.  Please consult the VDP documentation for providing your App with the proper auth credentials for the APIs being accessed."
}

I need to figure out what I'm doing wrong. Help appreciated.

 

Tags (1)
2 REPLIES 2
Regular Visitor

Re: Authentication Error logging information

So I solved my issue, it was due to issues with TLS v1.2. The error response didn't really indicate that, and was made even more confusing by the fact that I was getting a 403 error thrown, which indicates an Authorization error, but with an error message indicating an Authentication error.

 

Might be prudent to return a 401 in case of an Authentication error, and in my case, where it seems to be a TLS issue, probably should be a different error code entirely?

Community Manager

Re: Authentication Error logging information

Happy to see you've figured it out. 

 

Thank you for the feedback we will look into this. 

 

Cheers, 

Ricardo 




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.