Question

Zap error even with error handling

  • 15 September 2020
  • 1 reply
  • 29 views

Userlevel 1

I have a rest API that I use with my zap. All of my functions are POST’s that returns something like that, for exemple: 

response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
return;

This one returns a 401 status code as a response, but I still having error on my zap. Also the 200 code status give me the same error.


1 reply

Userlevel 7
Badge +9

Hi @Kelvym 

What’s the API you’re connecting to? Do you have docs to hand?

Most API docs have a section with details on various error codes you get back. Might be worth searching that.

Reply