# Bitbucket Cloud OAuth error: "Invalid client\_id" when clicking Connect

**URL:** <https://forum.cursor.com/t/bitbucket-cloud-oauth-error-invalid-client-id-when-clicking-connect/179758>\
**Category:** Bug Reports\
**Tags:** bitbucket, cloud-agents\
**Created:** [December 2, 2026, 1:19am UTC](https://forum.cursor.com/t/bitbucket-cloud-oauth-error-invalid-client-id-when-clicking-connect/179758 "2026-12-02T01:19:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![r-abe](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@r-abe](https://forum.cursor.com/u/r-abe)\
**Post date:** [December 2, 2026, 1:19am UTC](https://forum.cursor.com/t/bitbucket-cloud-oauth-error-invalid-client-id-when-clicking-connect/179758/1 "2026-12-02T01:19:10Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![FarhanZ](https://avatars.discourse-cdn.com/v4/letter/f/c37758/32.png) [@FarhanZ](https://forum.cursor.com/u/FarhanZ)\
**Post date:** [December 2, 2026, 5:08am UTC](https://forum.cursor.com/t/bitbucket-cloud-oauth-error-invalid-client-id-when-clicking-connect/179758/3 "2026-12-02T05:08:48Z")

</div>

Split this topic on December 2, 2026, 5:08am UTC

6 posts were merged into an existing topic: [Invalid client\_id on BitBucket Cloud Connect](https://forum.cursor.com/t/invalid-client-id-on-bitbucket-cloud-connect/179755)

---

<div class="post-metadata">

**Author:** ![Matt\_Hudson](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/matt_hudson/32/118468_2.png) [@Matt\_Hudson](https://forum.cursor.com/u/Matt_Hudson)\
**Post date:** [December 2, 2026, 2:24am UTC](https://forum.cursor.com/t/bitbucket-cloud-oauth-error-invalid-client-id-when-clicking-connect/179758/7 "2026-12-02T02:24:37Z")

</div>

Me too.

---

<div class="post-metadata">

**Author:** ![John\_Pearce](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@John\_Pearce](https://forum.cursor.com/u/John_Pearce)\
**Post date:** [December 2, 2026, 2:25am UTC](https://forum.cursor.com/t/bitbucket-cloud-oauth-error-invalid-client-id-when-clicking-connect/179758/8 "2026-12-02T02:25:14Z")

</div>

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](https://forum.cursor.com/t/invalid-client-id-on-bitbucket-cloud-connect/179755/5)

---

<div class="post-metadata">

**Author:** ![FarhanZ](https://avatars.discourse-cdn.com/v4/letter/f/c37758/32.png) [@FarhanZ](https://forum.cursor.com/u/FarhanZ)\
**Post date:** [December 2, 2026, 5:08am UTC](https://forum.cursor.com/t/bitbucket-cloud-oauth-error-invalid-client-id-when-clicking-connect/179758/9 "2026-12-02T05:08:54Z")

</div>

Closed on December 2, 2026, 5:08am UTC


