Troubleshoot integrations
Find a broken integration connection, read why it needs attention, and fix it for each reason Octic reports.
Use this page when an integration shows Needs attention, a setup step fails, or a sync doesn't finish. It lists every reason Octic reports and what fixes it.
A connection needs attention when Octic can't authenticate with it: a key was revoked, a role was deleted, an app was uninstalled, or a verification failed. Syncing from that connection pauses. Octic retries it once a day, so a fix on the provider's side recovers on its own within a day; re-verify to recover sooner.
You see it in four places:
- The dashboard shows a notice, such as GitHub: GitHub App missing or 2 integrations need attention, with Review integrations.
- On Integrations, the card shows Needs attention, the reason and how long it has failed, with Fix connection. The Needs Attention filter lists only those integrations.
- The integration's page shows an alert above every tab.
- On the integration's Settings tab, the connection's card shows the reason under its name.
The Needs Attention filter also lists integrations with a setup that was started and not finished. See Unfinished setups.
The alert on the integration's page is titled with the reason and the connection's name, for example GitHub App missing: acme-corp. It shows:
- What went wrong and what fixes it.
- Since: when the failure was first seen, and Last seen: the latest attempt.
- Error details: the provider's own error message. Open it before you contact support.
- The fix: a button that depends on the reason, plus Disconnect.
Who can use the fix depends on the button. Reconnect GitHub, Replace keys and Connect new key need the workspace owner. Re-verify needs an admin or the owner. Anyone else sees who to ask instead.
After Re-verify, Octic shows Verified. Syncing resumes on the next scheduled run. if the fix worked, or Still failing. with the latest error in Error details.
| Reason | Cause | Fix |
|---|---|---|
| AWS role access denied | AWS refused to let Octic assume the role. The role was deleted, or its trust policy changed. | Restore the role, or redeploy the Octic stack, so its trust policy names Octic's identity provider and your workspace. Then choose Re-verify. |
| AWS identity provider missing | AWS no longer has Octic's OIDC identity provider in the account. | Recreate the identity provider, or redeploy the Octic stack. Then choose Re-verify. |
The owner also sees View setup, which opens the Setup tab with the template. See Amazon Web Services for the role and trust policy the stack creates.
| Reason | Cause | Fix |
|---|---|---|
| GitHub App missing | The Octic GitHub App for this connection was deleted or uninstalled on GitHub. | Choose Reconnect GitHub. |
| GitHub App not installed | The App is no longer installed on the organization. | Choose Reconnect GitHub. |
| GitHub App suspended | An organization owner suspended the App. | Unsuspend it in the organization's settings on GitHub, under GitHub Apps. Then choose Re-verify. |
| GitHub App credentials rejected | GitHub rejected the App's credentials Octic holds, because its private key was rotated or revoked. | Choose Reconnect GitHub. |
Reconnect GitHub opens Reconnect with the organization filled in. Choose Reconnect on GitHub: Octic creates a new App for the same organization, you approve and install it on GitHub, and the connection resumes with its history intact. If the old App is still on GitHub, you can delete it afterwards.
| Reason | Cause | Fix |
|---|---|---|
| OpenAI API key rejected | OpenAI rejected a stored key; it was revoked or deleted. | Choose Replace keys, enter a new project API key and Admin API key, and choose Replace keys. Octic updates the same connection. |
| Reason | Cause | Fix |
|---|---|---|
| Anthropic Admin API key rejected | Anthropic rejected the stored Admin API key; it was revoked or deleted. | Choose Connect new key and enter a new Admin API key. |
The new key is saved as a new connection. Once it verifies, Octic offers to disconnect the old one; do that to clear the alert. See Anthropic.
| Reason | Cause | Fix |
|---|---|---|
| Microsoft consent revoked | Admin consent for the app was revoked, or never granted, in your Entra tenant. | Ask a Microsoft tenant administrator to grant consent again. Then choose Re-verify. |
| Microsoft application missing | Entra can't find the app registration; it was deleted or its service principal removed. | Restore it, or update the application in the federation setup. Then choose Re-verify. |
| Microsoft federation broken | The app has no federated credential matching Octic's issuer, subject and audience. | Add the federated credential again with the values from the federation setup. Then choose Re-verify. |
The owner also sees View setup. To review a source's permissions, see Microsoft.
Connection needs attention means Octic can't authenticate with the connection but has no specific reason, for example after a manual Verify fails. Open Error details, fix access on the provider's side, then use the button the alert offers: Re-verify for AWS and Microsoft, Reconnect GitHub, Replace keys for OpenAI, or Connect new key for Anthropic.
When the AWS wizard can't assume the role at the Connect stage, it shows the error and a hint, and Connect account becomes Retry connection.
| What AWS says | What to do |
|---|---|
| The token couldn't be validated, or there's no OpenID Connect provider | AWS doesn't know Octic's issuer yet. The stack isn't deployed, or its OcticIssuerUrl doesn't match the issuer on the Setup tab. Deploy or update the stack, wait for CREATE_COMPLETE, and retry. A stack that finished seconds ago can take a minute to take effect. |
Not authorized to perform sts:AssumeRoleWithWebIdentity, or access denied | The role exists but its trust policy rejects Octic. In IAM, open the role's Trust relationships and check the federated provider ARN, the :aud condition (sts.amazonaws.com) and the :sub pattern (your tenant ID), all against the issuer on the Setup tab. |
| Couldn't retrieve the verification key | AWS couldn't fetch Octic's signing keys from the issuer. Retry. If it keeps failing, note the Request ID the wizard shows when you report it. |
Check the ARN too: the wizard accepts only a role ARN of the form
arn:aws:iam::<account-id>:role/<role-name>.
If something goes wrong during the hand-off to GitHub, Octic returns you to Integrations with a message:
| Message | What to do |
|---|---|
| Authorization was declined. | Start the connect flow again when you're ready. |
| That connect link wasn't valid. | Start again from the Setup tab. |
| The connect session expired before you finished. | Start the connect flow again. |
| The provider rejected the app setup. | Start the connect flow again. |
| That account is already connected to this workspace. | Nothing to do. Find it on the integration's Settings tab. |
| That GitHub installation is already connected to a different workspace. | The installation belongs to another Octic workspace. Manage it from that workspace, or connect a different organization. |
| The connection you were reconnecting no longer exists. | Start the connect flow again from the Setup tab. |
| Integration | What you see | What to do |
|---|---|---|
| GitHub | Pending install with Installation not finished: the App was created but not installed. | On Setup, run Connect for the same organization again. |
| Microsoft | Pending install, with Resume setup on the tenant's card. | Choose Resume setup to see the federation values again, finish the steps, and choose Verify connection. |
Open the integration's Settings tab and look at Recent syncs:
- Partial: the sync finished, but some resources reported errors. The rest were collected.
- Failed: the sync didn't finish. Notes shows the error.
A sync failure that's an authentication problem turns the connection to Needs attention; fix it with the reasons above. For anything else, choose Sync now to retry. Right-click a run and choose View in Activity for its detail, or Copy run ID to quote the run when you report a problem.
Last updated
Was this page helpful?