Bitbucket Cloud OAuth error: "Invalid client_id" when clicking Connect

Where does the bug appear (feature/product)?

Grok Build (formerly Cursor)

Describe the Bug

When clicking “Connect” for Bitbucket Cloud on the Integrations page, Bitbucket’s OAuth authorization screen shows:

  • Error: Invalid client_id
  • Message: This integration is misconfigured. Contact the vendor for assistance.

Likely related to this, all Cloud Environments have also disappeared (none are shown in the dashboard or desktop app).

It looks like the Bitbucket OAuth client configuration on Cursor’s side may be invalid or expired. Could the team check this?

Steps to Reproduce

  1. Go to Integrations in the dashboard.
  2. Click “Connect” next to Bitbucket Cloud.
  3. Bitbucket’s OAuth authorization screen opens and shows an error.

Operating System

Windows 10/11

Version Information

Version: 3.32.24 (user setup)
VS Code Extension API: 1.147.0
Commit: 35373c21b6adbc9abeeaff77fdc78e2c008ba8a0
Date: 2026-11-30T19:13:36.909Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 43.8.9
Chromium: 150.0.7871.250
Node.js: 24.22.1
V8: 15.0.245.31-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

Does this stop you from using Grok

Yes - Grok is unusable

Me too.

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 Invalid client_id on BitBucket Cloud Connect - #5 by John_Pearce