We are experiencing a recurring CircleCI/Bitbucket Cloud integration problem that is affecting production pipeline automation.
Our CircleCI organization intermittently disappears from the CircleCI UI, which then prompts us to reconnect/find the Bitbucket team.
At the same time, the CircleCI API returns HTTP 404 when requesting an existing Bitbucket project:
curl -sS -w "\nHTTP: %{http_code}\n" -H "Circle-Token: $CIRCLE_TOKEN" "https://circleci.com/api/v2/project/bb/<organization>/<project>"
HTTP: 404
The important part is that this is reproducible:
-
Organization/project is working normally → API returns HTTP 200.
-
CircleCI loses the Bitbucket organization connection → the same API request returns HTTP 404.
-
We use CircleCI’s “Find Your Team” flow and reconnect the Bitbucket team.
-
The organization and all projects immediately reappear.
-
The exact same API request immediately returns HTTP 200 again.
No project configuration, API token, repository configuration, or Bitbucket workspace settings are changed during this process.
The issue occurs multiple times per day and requires manual intervention before our production pipeline automation can resume.
We have ruled out Bitbucket IP restrictions, workspace-enforced 2FA, and Atlassian session expiration. The Bitbucket OAuth authorization for CircleCI remains present.
We have an open support ticket with CircleCI that has received no response despite multiple follow-ups.
Has anyone seen this behavior with the Bitbucket OAuth/VCS organization integration? In particular, we’re interested in whether CircleCI can intermittently lose its internal organization/VCS association while the underlying Bitbucket OAuth authorization remains valid.
We can provide the organization/project details and request IDs privately to CircleCI for further investigation.
Thank you.