Error: Unable To Connect to API. Not Authorized
Issue
The following errors appear on completing the connector setup:
Unable to connect to API. Setup test failed with "javax.ws.rs.ProcessingException: java.net.ConnectException: Connection timed out (Connection timed out)".
Unable to connect to API. Not authorized
Environment
Connector: Jira
Resolution
Setup test failed
This error is caused by incorrect Host or Port field:
- For cloud installation, the Host domain should end with
atlassian.net
and the Port should be 443. - For on-premise installation, the Host should be structured like
jira.example.com
and the On Premise toggle should be set to ON.
- For cloud installation, the Host domain should end with
Not authorized
This error is due to an incorrect Host field. The Host field should end with either
atlassian.net
orjira.example.com
without a following dash or any symbols or characters.
Cause
Incorrect Host or Port field or extra characters cause the setup tests to fail with the above errors.