Workspace: SputnikFive (UUID {54c6f884-c96c-4f13-a63f-aae6233c2e4d}, created 2018)
Repository: SputnikFive/manmakegame
I can't enable Pipelines on this repository. In Repository settings > Pipelines > Settings, the Enable Pipelines toggle switches on, then reverts after a refresh. Same result in Safari and Chrome. On the repository's Pipelines page, "Run initial pipeline" says Pipelines is disabled for this repository.
Two-step verification is on for my Bitbucket account, I'm the workspace owner, and bitbucket-pipelines.yml is committed on main.
Calling the API directly with a scoped API token (admin:repository:bitbucket):
PUT https://api.bitbucket.org/2.0/repositories/SputnikFive/manmakegame/pipelines_config
{"enabled": true}
returns HTTP 404:
{"error": {"message": "Not found", "detail": "Account {54c6f884-c96c-4f13-a63f-aae6233c2e4d} does not exist.", "data": {"key": "account-service.account.not-found"}}}
That UUID is my workspace. The browser console on the settings page also shows a 404 from:
https://api.bitbucket.org/internal/site/addons/account/{6802dad1-6e19-44a8-af9f-3f57c90b39af}/install/
It looks like the Pipelines record for this workspace is missing. Could you recreate it, or enable Pipelines for the workspace?