Skip to main content
Best answer

How do you add a custom message to the Connection Authentication Error dialog?

  • February 24, 2020
  • 1 reply
  • 482 views

khakman

The error message below is fairly friendly. However, we'd like to (if possible), add our own message below the red and above the numbered bullets (or elsewhere) to say:

...

Your API Key or Account Number were incorrect. Here's how to find the credentials you need https://help.teamworkiq.com/en/articles/3625469

...

image.png


Best answer by ikbelkirasanBest answer by ikbelkirasan

If this is a CLI app, just throw an error if the authentication fails.

throw new Error("Your API Key or Account Number were incorrect. Here's how to find the credentials you need https://help.teamworkiq.com/en/articles/3625469")



View original
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.

1 reply

ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • Answer
  • February 24, 2020

If this is a CLI app, just throw an error if the authentication fails.

throw new Error("Your API Key or Account Number were incorrect. Here's how to find the credentials you need https://help.teamworkiq.com/en/articles/3625469")