Aha, so I think the issue is the “User Profile Endpoint” is set to return the list of Business Accounts not the user. This does not contain an id or an emails.
Maybe use https://people.googleapis.com/v1/people/me instead ?
Then ResourceName ?
Or maybe more simple
www.googleapis.com/oauth2/v1/userinfo
That will give you id, but probably not email.
So what that is doing, is when you have authenticated, Bubble will call the API in the User Profile Endpoint, and you are telling it what fields in the JSON to use as Id and Email.
You can navigate down the structure you get back using this.that.lowerlevel.etc
But if it is an array (so you can have lots if Identities) then you can use this.0.that.etc
The “0” tells bubble to use the first in the list.
You get this error when bubble can’t find the JSON field you have pointed it at. It can be quite fiddly to get right.
If you pick the right endpoint, id should usually work (like the userinfo one above should).
{
"id": "xx",
"name": "xx",
"given_name": "xx",
"family_name": "xx",
"link": "xx",
"picture": "xx",
"gender": "xx",
"locale": "xx"
}
This mess is one of the reasons we use auth0 to manage multiple social signups. It puts all the fields (name, userid etc) in standard fields which is lot easier to manage