Is it unclear to me why this is failing. One way could be to provide a "test" button on each administration configuration, allowing to validate if the provided information (url, token) are valid.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.