Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Places API not working
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 7 months ago.
- AuthorPosts
- August 25, 2022 at 12:34 pm #39026
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.
August 25, 2022 at 1:11 pm #39029Hi,
Can you check the back-end login details? They does not work for me.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 25, 2022 at 1:12 pm #39030You cannot access this content.August 25, 2022 at 1:22 pm #39032Thank 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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 25, 2022 at 1:26 pm #39033Thanks, 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/
August 26, 2022 at 8:48 am #39040Try the keyword suggestions instead. It will apply whenever there are no matches.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.