API docs

Failing gracefully

There’s always a chance that something can go wrong when someone is using your integration - that’s why failing gracefully is so important.

Make sure you include error messages that will help the user understand what went wrong - did they open the wrong file type or use the wrong link or authentication token? Including the right information in your error messages will ensure that the user doesn’t make the same mistake again.


Error messages from the KNOTS integration allow you to see the issue (Critical error - access denied), and a quick option to re-configure your knot.