Hi everyone, I’m building a rental marketplace and the suggestions in my searchbox are not working.
I have activated the 5 needed APIs in my server
They are placed in my app general configuration and still I it does not return the autocomplete and I get this error on my console:
Can anyone help me understand? Is it because it is the Places API (New)? What should I do
Yes, it’s because the Places API is deprecated and no longer available for new Google accounts and bubble doesn’t work with the new Places API (new).
Thankfully, there is still a way to enable the old Places API (at least for now)…
In the Google Cloud Console, under Google Maps Platform, then find the option to Enable APIs.
This will enable ALL APIs related to Google Maps, including the old (deprecated) Places API.
Thanks for your reply! but I couldn’t really find what you meant, is it here?
Sorry…
You need to go here:
And then here, and click Enable APIs
Once that’s done, check your Enabled APIs…
Hopefully you’ll see the Places API enabled - as well as the Places API (new).
This was working last week - but I’m not 100% sure it stills works today (Google may have completed removed the Places API from new accounts now) - so keep me posted if it works or not.
Thanks again for the instructions, I did what you said but unfortunately, it does not enable the old Places API anymore. As you can see, only the new version is enabled.
Should I try to build a searchbox by myself?
In that case it would seem that Bubble (at least currently) can no longer use Geographic location for SearchBoxes (with new Google accounts).
So yes, the only option here will be to create your own integration with a custom searchbox.
1 Like
@rodrimorgui03 and anyone else I followed @adamhholmes advice and had no problems adding the old places api.
Just search Google Maps platform in the Google Cloud Console and you can enable the apis there.
1 Like
@DjackLowCode would be interesting to know when the Google account you used was created?
The reason I ask is that this worked for me at the time of writing this post (a couple of weeks ago), but more recently I’ve tried it on newer accounts (created in the last week or so), and it no longer does…
Hey @adamhholmes - the account was definitely created in the last 3-4 weeks. It’s a constant battle 
1 Like