Skip to main content

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


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