Getting error In google assistant ,when I am trying to find places near my loction using googleplaces api's

(Rapolu Durga prasad) #1

I am trying to implement ‘action_place_search’ (borrowed from “tutorial-rasa-google-assistant/ at master · RasaHQ/tutorial-rasa-google-assistant · GitHub”) to get the nearest shop based on latitude and longitude of the place selected by the user on google map

and getting this error:

events = action(dispatcher, tracker, domain) File “/home/arghya/rasa_test/data/place_finder/”, line 34, in run origin_lat = get_origin[‘location’][‘lat’] KeyError: ‘location’

How to solve this issue .Please help me

Thank you

(Knight) #2

Hi Bunny99, Can you show file and

(Juste) #3

Hey @Bunny99. I am currently working on updating this tutorial to the latest Rasa version and I am investigating this issue too. Will update you with the solution and updated tutorial in general :slight_smile:

(Rapolu Durga prasad) #4

Ok Thank you @Juste

(Rapolu Durga prasad) #5

Hi @nguyennhunai

tutorial-rasa-google-assistant/place_finder at master · RasaHQ/tutorial-rasa-google-assistant · GitHub in this link both and