Google Maps: "Error looking up that address"

Solved
edk
Excursionist
27 2 16

Debut theme.   Brand new store, still offline.  

 

As far as I can tell I have done all of the steps in creating the API key.  I paste it into the Map section of the Debut theme and get that message in the body of the web page.  It's a good address, Google can find it, but not using this method.  

 

Thanks in advance

Ed K

Accepted Solution (1)
edk
Excursionist
27 2 16

This is an accepted solution.

A Shopify tech and I spent an hour and could not solve it.  A ticket to Google  got a response and showed the answer.  

 

When setting up the Google cloud account, you must enable the maps javascript API AND the Geocoding API (that's what looks up the address).  The API was getting requests but would not respond.  The Google tech could see that and let me know.  Enable Geocoding, works now. 

 

Either I misconfigured the APIs when I started the google account (very possible) or the Shopify documentation left that detail out.  

 

Thanks for reading!

View solution in original post

Replies 25 (25)
Jason
Shopify Expert
11119 218 2266

Without seeing it live or getting more insights into what is being sent to google it will be hard to offer much help. Are you able to share a link to the page with the map?

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
edk
Excursionist
27 2 16

I started a test page not linked to my paid account, and same results.  

 

the theme is pretty simple.  I think it is a Google configuration issue, but I have done everything I am supposed to do.  I have tried to add a service account to the Google but it's not working.  for what it's worth the info I got from Google is:  

 

API key: ** removed **

 

viewer access to the API account: traditionalartstoday@rising-hallway-234719.iam.gserviceaccount.com

 

I don't know how to use that.  

 

I have tried searching for the phrase "Error looking up that address" and have not had any good luck finding others with this problem.  

 

I also can't figure out a way to add a Shopify staff account to the account without having an email address for the account holder, so I can't give you that without your email.  

 

I am at a loss.  any other ideas about what to do or where to look for answers?  

 

thanks

Ed K

 

 

edk
Excursionist
27 2 16

This is an accepted solution.

A Shopify tech and I spent an hour and could not solve it.  A ticket to Google  got a response and showed the answer.  

 

When setting up the Google cloud account, you must enable the maps javascript API AND the Geocoding API (that's what looks up the address).  The API was getting requests but would not respond.  The Google tech could see that and let me know.  Enable Geocoding, works now. 

 

Either I misconfigured the APIs when I started the google account (very possible) or the Shopify documentation left that detail out.  

 

Thanks for reading!

Weblius
New Member
1 0 1

This helped me, thank you!  Shopify: Please add this to your documentation!

 

 

Nick
Shopify Staff (Retired)
Shopify Staff (Retired)
4531 434 1011

Hi everyone, 

 

Nick here from Shopify. 

 

Thanks for the update @edk. Great to hear you got it sorted out and thanks for providing how you got there. @Weblius I'll be sure to let the help document team know about this also. 

Nick | Community Moderator @Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

mariagogoleva
New Member
4 0 0

Hi,

 

Even after enabling Geocoging API and Java Script API, my map still cannot load. Is there a way to solve it?

 

Thanks,

 

Maria

Nick
Shopify Staff (Retired)
Shopify Staff (Retired)
4531 434 1011

Hi @mariagogoleva,

 

I spoke to our theme support team about this. They mentioned that even though you have already entered an API key, you will have to regenerate a new one in order to potentially fix this issue. As this involves access to your own private Google account, it is not something that we can do for you, however, there are some steps you need to take for this. Let's take a look at them below:

 

1. You will need to generate the API key from here

2. Select Get A Key.

 22_-13-k48pt-mqnlq

3. Select or create a project (ie Maps) and then select Enable API (this will not enable until a project is selected)
22_-13-jtpq7-p5rkt

4. Then copy the API key by selecting the copy button
07-11-s0gx9-owrrl

5. Paste this key into the Maps section and select Save
22_-45-viupf-pn4la

6. Have the key unrestricted to make sure it works
22_-58-tflgc-t7eq2

It is important to view the storefront itself as the theme editor may not show the same information. Currently, the theme editor shows the map but viewing on the storefront shows an error

 

Can you try this and let me know if it works for you please? 

Nick | Community Moderator @Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

mariagogoleva
New Member
4 0 0

Hi Nick,

 

Thanks for your information! Unfortunately, it still doesn't work for me.

 

It is important to view the storefront itself as the theme editor may not show the same information. Currently, the theme editor shows the map but viewing on the storefront shows an error - what do you mean by that?

 

After generating a new API key, Shopify still cannot locate my store. It is a big issue because it is affecting our shipping rates. Please let me know how can I fix it. The link to my store is shop.quantumebikes.com.

 

Thanks,

 

Maria Gogoleva

mariagogoleva
New Member
4 0 0

Capture.PNGThis is a big issue

Andrew_Doan
New Member
2 0 1

Did you ever get this issue resolved?
I'm experiencing the same problem and the above solutions didn't work for me either.

mariagogoleva
New Member
4 0 0

Hi Andrew,

 

No, Shopify blamed Google on the issue, although I have checked and everything is okay with my address showing on Google. The issue has never been resolved. 

 

Thanks,

 

Maria

Nick
Shopify Staff (Retired)
Shopify Staff (Retired)
4531 434 1011

Hi @mariagogoleva & @Andrew_Doan,

 

Shopify presents this error when the shipping from field does not match what the postal service has on file. You would get the error "Your store's shipping address couldn't be verified" when the physical address they have entered in Settings > Shipping into the Shipping from field does not match the information in Google and should look something along the lines of the screenshot below: 

 

19-10-xtl20-72k1c

 

My guess would be the app is not verified or that there is something very small off with it, as simple as the postal code or one letter being lower or upper case, this is something which Shopify doesn't control and thus can't action a fix for. I spoke to our higher technical team who suggested to report the error to Google directly via the link here. Hopefully this works. 

Nick | Community Moderator @Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Joshua8333
Tourist
7 0 3

Pefect I was able to solve this problem with this 🙂

Nice, thank you mate 

WCK1-BA
New Member
2 0 0

Thanks for the advice - this helped me as well!

ZarateSteel
New Member
1 0 0

Thank you for sharing!! I was racking my brain guessing and resubmitting for new api requests thinking it was me doing it wrong. BIG HELP THANKYOU!

CTmark
New Member
2 0 1

In particular, you need to enable the Geocoding API.   This API is what converts and address into a geolocation.

 

https://console.cloud.google.com/apis/library/geocoding-backend.googleapis.com?q=geocod&id=42fea2de-...

Kalti
New Member
1 0 0

I am having this issue and I have done everything that has been suggested ...and I am still getting the same error

 

Screen Shot 2020-05-13 at 1.02.42 am.png

Nick
Shopify Staff (Retired)
Shopify Staff (Retired)
4531 434 1011

Hi @Kalti,

 

Just to confirm if you have generated a new Google Maps key for this? If you haven't that could be the problem. Could you follow the steps in the help guide for Registering a Google Maps API Key here and then let me know if that works for you please? 

Nick | Community Moderator @Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

iamnotkiran
New Member
1 0 0

Hello Kalti, 

 

I had a similar issue. After going through every single page, I discovered on Shopify's instructions to make sure you have your billing account linked with Google Service. This will still be under a trial basis and won't take money out of your account until you manually upgrade to this. Your account will have a $300 trial credit to use. Hope this works for you as it did for me.

opalepatrick
Shopify Partner
8 0 1

I am still having similar problems. I have created new api keys, new profile and new api key's. I have both javascript map and geocodng apis enabled and added api key several different times. Every time it does not work and it does feel like a Shopify issue because if I click the Get Directions it opens and locates absolutely fine in Google Maps. Spent hours on this and getting exasperated.

MrktMedia
New Member
1 0 0

Hello @opalepatrick,

I suggest you try the advice given above by @iamnotkiran. This is my personal account.

I had a similar issue and tried everything until I found the advice by shopify as their tips. By simply registering a card in payment / billing, not necessarily paying for anything solved this issue for me. Hope this helps.

opalepatrick
Shopify Partner
8 0 1

I should have emntioned that I already have apyment with credit card set up.

opalepatrick
Shopify Partner
8 0 1

OK, that actually did solve it. I misunderstood where you were talking about and as I had an account with Google already for api's that it had connected. So once I set up payment for the free api, it all worked. Thank you.

hueloco
New Member
1 0 0

How to I set up payment for the API address? I am also trying to resolve this error issue. Thank you. 

PaulWhitePl
New Member
1 0 0

Thank you for that solution. It works for me now.