reverse geocoding problem

Hi, I have problems in activating reverse geocoding in Jobs & Experts.
I created an api key on my google dev console. Set it to open so it is not restricted by a domain. I got this error:
Browser API keys cannot have referer restrictions when used with this API.
But I do not created a referer restrictions.
Can you help me please so it will work? Thanks.

kind regards R.

  • Dimitris
    • Support Star

    Hey there FLYINGFOX,

    hope you're doing good and thanks for reaching us! :slight_smile:

    I just tried to replicate this with no avail though! :thinking:
    Could you please double-check your API key that has no referrer? You should be able to select "None", at least for testing.

    Browser API keys cannot have referer restrictions when used with this API.

    Also, could you please inform me where do you see this error?

    I'd like also to inform you that geolocation no longer work on insecure origins so in order to use this feature, you should consider switching your application to a secure origin, such as HTTPS.
    See https://goo.gl/rStTGz for more details.

    Warm regards,
    Dimitris

  • Dimitris
    • Support Star

    Hey there FLYINGFOX,

    hope you're doing good today! :slight_smile:

    Could you please try to create a new Google App and create a new no-referrer API key and give this another try? If this continues, can you try to use a HTTP referrer with your domain name?

    About the SSL issue, you may want to advise your hosting provider if they can deploy a Let's Encrypt certificate for you, which is free of charge. https://letsencrypt.org/

    Warm regards,
    Dimitris

  • FLYINGFOX
    • Site Builder, Child of Zeus

    Hi Dimitris, I created several new Api Keys and it do not work. So I disabled the feature so people has to choose from alist their country. Https will be set after development is ready. We need to see that the site works with any enhancements we have done. Than we move to ssl to see if something breaks.
    Thx.

  • Adam Czajczyk
    • Support Gorilla

    Hello FLYINGFOX!

    If I correctly understand your initial post, you are using a "Browser Key", is that right? If yes, try creating a new one (on "Credentials" page for your Google APP) selecting "API Key" instead, not the other one. That works for for me with both Jobs&Experts and Google Maps plugin.

    It won't however work in Chrome without SSL regardless of the key that you use. It's a Chrome limitation that they block insecure calls. In Firefox (at least under Windows) that still works fine even on http:// sites so it might be better to use FF for testing.

    Kind regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.