Skip to main content
Question

Zap error even with error handling

  • September 15, 2020
  • 2 replies
  • 172 views

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.

Did this topic help you find an answer to your question?
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

AndrewJDavison_Luhhu
Forum|alt.badge.img+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.


nicksimard
Forum|alt.badge.img+11
  • Zapier Staff
  • 2115 replies
  • December 12, 2020

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 :)