Searchbox misbehaving, buggy geographic location search

Hi!

I’m kind of stuck with searchbox (dys)functionality so I’d appreciate some feedback from others.

It used to work perfectly a year ago (there was an extended pause in my app development…) but now searchboxes set to search geographic locations refuse to do so. But not entirely - they display some data and city names when search is beginning with some certain letters. But when more letters are typed then the search returns nothing. Also when beginning search with some other letters the search remains empty.

Google API side is freshly reconfigured according to https://manual.bubble.io/working-with-data/setting-up-google-api-keys.html

What else can I do?

Be sure you’ve set up all the right permissions on the Google API console side.
It can be a real pain in the backside.

To see if you have those issue - launch your website in Chrome and monitor the Javascript console for Google API related issues\exceptions.

Most probably you will see something along the lines of your application not allowed to use this API, or exceeding quota, or god knows what.

Good news is that it’s usually kinda self-explanatory, so a little frustration and Googling Google setup ways should get you back on track.

Let us know how it goes, please!

1 Like

Thanks for pointing me in the right direction!

True enough - the console message cried that the billing data is missing. Seems that there has been significant changes on the google API side since I last built the geographic address function.

Magic started happening after giving google some payment data.

Now I’m trying to wrap my head around the question that how much can my app use the address data API etc before the guy$ at google start abusing my credit card. What constitutes the address data use - every character typed in the search box when new data is reflected in search result window or every time someone does a search and selects a result.

1 Like

You’re welcome :slight_smile:

Google gives you some free credits that should keep you going for a few months time.
They are still going to send you the monthly invoice, showing how much credits you consume at your current volumes.

That should give you enough time and transparency to plan the budget for this integration.

Hope this helps :+1:

This topic was automatically closed after 70 days. New replies are no longer allowed.