Error when trying to link bot to Google Assistant

Hi, I have been following this tutorial to link my bot to Google Assistant: https://blog.rasa.com/going-beyond-hey-google-building-a-rasa-powered-google-assistant/

I’ve followed the steps exactly but I’m getting an error in my terminal when trying to update gactions:

(rasa) PS C:\Users\raghi\fpl_bot> gactions update --action_package action.json --project Fantasy Premier League Bot
ERROR: Failed to update the app for the Assistant
ERROR: The caller does not have permission
2021/04/27 13:31:59 Server did not return HTTP 200

I don’t know why it says I don’t have permission, as I entered in the authorization code from the link the first time I was asked:

(rasa) PS C:\Users\raghi\fpl_bot> gactions update --action_package action.json --project Fantasy Premier League Bot
Gactions needs access to your Google account. Please copy & paste the URL below into a web browser and follow the instructions there. Then copy and paste the authorization code from the browser back here.
Visit this URL:
 https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=237807841406-o6vu1tjkq8oqjub8jilj6vuc396e2d0c.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Factions.builder&state=state
Enter authorization code:

Any help would be great, Thanks

@Juste Hi, sorry for the ping but I saw that you wrote the tutorial that I linked and was wondering if you had any idea?

Right, realised I wasn’t using the correct project ID, and that you had to copy and paste it from project settings :man_facepalming: My bad.

1 Like