# Geocoding Service: cannot connect to the service,

**URL:** <https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088>\
**Category:** Need help\
**Created:** [September 20, 2024, 2:51pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088 "2024-09-20T14:51:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericwuu](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@ericwuu](https://forum.bubble.io/u/ericwuu)\
**Post date:** [September 20, 2024, 2:51pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/1 "2024-09-20T14:51:42Z")

</div>

I believe I have everything set up correctly, but still not working, any idea why?  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/8/f8cea5e1500b7f43bf8f070020019c9066494746.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/5/0551b9799bbdb801aae93b8e3c005560a5704b23.png)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/9/d97710a74c4aa4e4b0401bfac82c915be06fdb06.jpeg)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/4/04adeb829abdcceba107461f86fa87a4f0441cd8.png)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/7/572f8f650ed4453ef4ff5109fbd5b88c8cba88d2.png)

---

<div class="post-metadata">

**Author:** ![eliot1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eliot1/32/215285_2.png) [@eliot1](https://forum.bubble.io/u/eliot1)\
**Post date:** [September 20, 2024, 2:59pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/2 "2024-09-20T14:59:47Z")

</div>

Hi, did you check this points:

- redirect Uri ́s are correctly set on google api side
- you are on a paid plan on bubble

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [September 20, 2024, 3:03pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/3 "2024-09-20T15:03:13Z")

</div>

Can you check browser console log?

---

<div class="post-metadata">

**Author:** ![ericwuu](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@ericwuu](https://forum.bubble.io/u/ericwuu)\
**Post date:** [September 20, 2024, 3:47pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/4 "2024-09-20T15:47:34Z")

</div>

![image](https://us1.discourse-cdn.com/bubble/original/3X/b/f/bf665c0b49883ee606a1dc4d69d32ef37f870792.png)

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [September 20, 2024, 3:50pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/5 "2024-09-20T15:50:56Z")

</div>

First error is to fix referer not allowed error. Go in Google Cloud Console and check allowed. You can click directly on the link in the browser console to get more information about this error.

For Geocoding, check your API key. Seem it’s wrong. Most of the time, user use the same API key for both maps and geocoding. Maybe this is what you set?

---

<div class="post-metadata">

**Author:** ![ericwuu](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@ericwuu](https://forum.bubble.io/u/ericwuu)\
**Post date:** [September 20, 2024, 4:14pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/6 "2024-09-20T16:14:33Z")

</div>

thank you for the guidance.  
I found that it works if I select “None” on “Set an application restriction”!  
so I am sure the problem is on the restriction.  
but it won’t work if I setup my website like this:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/e/5e1f5c9d0970b6a7c29cf4971e2926e0fac1f025.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/6/46faa3d1fcadbf815f2c6e981dea651ffcd90279.png)

what did i do wrong?

---

<div class="post-metadata">

**Author:** ![eliot1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eliot1/32/215285_2.png) [@eliot1](https://forum.bubble.io/u/eliot1)\
**Post date:** [September 20, 2024, 4:20pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/7 "2024-09-20T16:20:36Z")

</div>

Add both [domain].com/\* and `*.[domain].com/*`

---

<div class="post-metadata">

**Author:** ![ericwuu](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@ericwuu](https://forum.bubble.io/u/ericwuu)\
**Post date:** [September 20, 2024, 4:33pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/8 "2024-09-20T16:33:17Z")

</div>

I did on Client and Server key, as you can see my screenshots.

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [September 20, 2024, 4:43pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/9 "2024-09-20T16:43:42Z")

</div>

If you read @eliot1 reply is to also add domain without .(dot) before.

this will handle [domain.com](http://domain.com) and [www.domain.com](http://www.domain.com) and any [subdomain.domain.com](http://subdomain.domain.com)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [November 29, 2024, 2:52pm UTC](https://forum.bubble.io/t/geocoding-service-cannot-connect-to-the-service/340088/10 "2024-11-29T14:52:41Z")

</div>

Closed on November 29, 2024, 2:52pm UTC

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