Invalid client_id on BitBucket Cloud Connect

We have the same problems. Currently,

  • we are able to use local agents but unable to start cloud agents
  • nor reconnect Bitbucket Cloud due to “Invalid client_id”

Cloud agents fail with:

Failed to refresh Bitbucket OAuth token: 400 {“error”: “unauthorized_client”, “error_description”: “Owner of consumer is no longer active.”}

See also duplicate thread Bitbucket Cloud OAuth error: "Invalid client_id" when clicking Connect