This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Places API not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #39026
    alinahomecarealinahomecare
    Participant

    Hi, me again. I have enabled the google places API but it is not working. See here: https://alinahomecare.com/locations-2/

    I’m not sure why as I know the API key works as I use it for another plugin.

    #39029
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Can you check the back-end login details? They does not work for me.

    #39030
    alinahomecarealinahomecare
    Participant

    You cannot access this content.

    #39032
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thank you!

    I ran a quick debug, and the google API returns this error message:

    {
       "error_message" : "API keys with referer restrictions cannot be used with this API.",
       "predictions" : [],
       "status" : "REQUEST_DENIED"
    }

    There is probably a restriction set for the API key. Try checking and changing the restriction to IP addresses (web servers..), and use your server IP.

    #39033
    alinahomecarealinahomecare
    Participant

    Thanks, that fixed it. However, the suggestion appears in a light grey font but i can’t find a way for the user to actually select the suggestion? https://alinahomecare.com/locations-2/

    #39040
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Try the keyword suggestions instead. It will apply whenever there are no matches.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.