OAuth2 is not working in API Connector

Hi, I am trying to connect gmail using the API connector. For some reason, Bubble´s API connector can not get the token. Attached the configuration I have. Thank you.

PI Connector error: the Oauth2 API Moneye is not configured properly - Received error from api The service Moneye just returned an error (HTTP 401). Please consult their documentation to ensure your call is setup properly. Raw error:

{
“error”: {
“code”: 401,
“message”: “Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.”,
“status”: “UNAUTHENTICATED”
}
}

I suggest setting it up yourself instead of trying to let Bubble handle it automatically. You can just choose a different Authentication and try it that way. Usually I use a url on the front end to get a code, then create my own API connections to do the rest. You have to handle your own refresh tokens and stuff like that. But at least it works. :blush:

If you want to do it that way, read the information at the bottom, it tells you what you are missing.

‘You haven’t tested this API in run mode and authenticated with Moneye yet’…

Did you run the signup login workflow as mentionned at the bottom of the auth part? (Warning…)