Hello everyone,
does anyone know how to fix this error please ? All my settings on bubble API connector looks ok
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:
Your OAuth access token is missing or expired
If this API uses OAuth2, you may need to re-authenticate the account.
In Bubble, go to the plugin/API Connector setup and check if the OAuth flow has been initialized properly.
Wrong Client ID or Client Secret
Double-check the OAuth app credentials.
Make sure you are using the correct credentials for the correct app/project.
Redirect URI mismatch
The redirect URL in your OAuth provider must exactly match what Bubble expects.
Even one extra slash or wrong version-test/live URL can cause invalid credentials.
Wrong authorization/token URL
API key/token is in the wrong place
Authorization header as:Bearer YOUR_ACCESS_TOKEN
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:
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.”