Sorry if this is a noob question. I am trying to authenticate using Session Auth, and I am testing different scenarios. What is the expected behaviour when the user enters an incorrect password?
I got this output from a mock endpoint that returns 401. Is this what the end user will see?
Best answer by DanversView original
@Ian Stewart - sorry for the delay in getting back to you on this one!
We have some docs on how to handle errors in your Zap that should help you here: https://platform.zapier.com/cli_docs/docs#error-handling - this is written for CLI, but you can do the same thing in Visual Builder with Code Mode (https://platform.zapier.com/docs/faq#how-does-code-mode-work).
I hope that helps, please let me know if you have any questions!
Thank you for your reply. It solves my issue. I can see the error message now says “You are seeing this because you are an admin”. I take it to mean that the end user will not see the stack trace.
That sounds like it’s working as it should, yes. The best way to be sure is to set up a test account - that way you can be sure that a regular user is seeing what you intended.