# Connecting Google search console API to my app

**URL:** <https://forum.bubble.io/t/connecting-google-search-console-api-to-my-app/395746>\
**Category:** APIs\
**Created:** [May 4, 2026, 9:13pm UTC](https://forum.bubble.io/t/connecting-google-search-console-api-to-my-app/395746 "2026-05-04T21:13:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mboukem.christian](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@mboukem.christian](https://forum.bubble.io/u/mboukem.christian)\
**Post date:** [May 4, 2026, 9:13pm UTC](https://forum.bubble.io/t/connecting-google-search-console-api-to-my-app/395746/1 "2026-05-04T21:13:11Z")

</div>

Hello everyone,

does anyone know how to fix this error please ? All my settings on bubble API connector looks ok

 ![Capture](https://us1.discourse-cdn.com/bubble/original/4X/0/5/b/05bc1c7a519f515870a26d9dd878b7df7922333e.png)

---

<div class="post-metadata">

**Author:** ![bassim3qazi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bassim3qazi/32/259950_2.png) [@bassim3qazi](https://forum.bubble.io/u/bassim3qazi)\
**Post date:** [May 4, 2026, 10:29pm UTC](https://forum.bubble.io/t/connecting-google-search-console-api-to-my-app/395746/2 "2026-05-04T22:29:07Z")

</div>

Bubble is trying to call your API named **“GSC Spred Final”** , but the API is returning:

**HTTP 401 — Invalid Credentials**

That means the request is reaching the service, but the credentials being sent are wrong, missing, expired, or not accepted.

Most likely causes:

1. **Your OAuth access token is missing or expired**

2. **Wrong Client ID or Client Secret**

3. **Redirect URI mismatch**

4. **Wrong authorization/token URL**

5. **API key/token is in the wrong place**

```auto
Bearer YOUR_ACCESS_TOKEN

```

- If Bubble is sending it as a query parameter or wrong header, the API may reject it.

1. **You initialized in test mode but are using live mode, or vice versa**

For this specific error, I would check the API Connector call named **GSC Spred Final** and confirm:

```auto
Authentication type: OAuth2 User-Agent Flow or OAuth2 Password Flow, depending on your setup
Client ID: correct
Client Secret: correct, if required
Authorization URL: correct
Token URL: correct
Scope: correct
Authorization header: Bearer token
Redirect URI: matches Bubble exactly

```

In simple terms: **Bubble is making the call, but the service is saying “I don’t trust these credentials.”**
