Question

Zap error even with error handling

  • 15 September 2020
  • 2 replies
  • 162 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.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +10

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.

Userlevel 7
Badge +11

Hi @Kelvym!

I wanted to check in with you on this one, since we didn't hear back after our last message. Did you still need help here or were you able to resolve things? Please let us know :)