actions-on-google

Gactions project is sending version 1 request schema

*爱你&永不变心* 提交于 2020-01-07 04:20:53
问题 According to this document Actions on Google - Overview Google is now using version 2 JSON schema, but the requests my server is receiving from the simulator is version 1. Is there something I need to do to get version 2 JSON schema ? I have updated my gactions project action.json file to the new format and uploaded it. This is my action.json { "actions": [ { "description": "Default Welcome Intent", "name": "MAIN", "fulfillment": { "conversationName": "welcome" }, "intent": { "name": "actions

Actions on Google: Unable to Close Convo in DialogFlow Fulfillment

Deadly 提交于 2020-01-06 09:05:33
问题 I am on ActionOnGoogle V2 SDK, and using Firebase Functions I tried this code... import * as functions from 'firebase-functions'; const admin = require('firebase-admin'); const serviceAccount = require("../key/secretkey.json"); import {dialogflow, BasicCard, SimpleResponse, List, Carousel} from 'actions-on-google'; admin.initializeApp({ credential: admin.credential.cert(serviceAccount), databaseURL: "https://dburl.com" }); const getSomethingPromize = admin.database().ref(`/user_list/`)

Unable to see client id

时光毁灭记忆、已成空白 提交于 2020-01-06 08:12:57
问题 We are trying to setup the account linking process using Google SignIn. In this, it asks us to copy the Client Id at Step 5: Open Client Information and take note of the value of Client ID issued by Google to your Actions. However, I don't find the Client ID field in the Account Linking section at all. Is there an alternative way to generate this? I tried using the console in developers.google.com and created an Oauth 2.0 Client Id of Web Application type, but using the Client ID generated

Unable to see client id

懵懂的女人 提交于 2020-01-06 08:12:24
问题 We are trying to setup the account linking process using Google SignIn. In this, it asks us to copy the Client Id at Step 5: Open Client Information and take note of the value of Client ID issued by Google to your Actions. However, I don't find the Client ID field in the Account Linking section at all. Is there an alternative way to generate this? I tried using the console in developers.google.com and created an Oauth 2.0 Client Id of Web Application type, but using the Client ID generated

Javascript firebase firestore function not executing

烂漫一生 提交于 2020-01-06 08:02:53
问题 i try to build a ActionsOnGoogle App with the ActionsSDK, Firebase Functions and Firebase Firestore. I build a fulfillment that haves to intents. The mainIntent when starting the Actions App and the answerIntent when the users answers the question from the mainIntent. Getting the text in the mainIntent from the firestore database and ask the users with the wrapped text work very fine. But then inside the function where new data is wrapped from the database array get filled. After executing

gactions test fails with “Your app must have at least one action for locale en”

我怕爱的太早我们不能终老 提交于 2020-01-06 05:48:11
问题 When I run gactions test for one of my Actions SDK projects I get the following message: ERROR: Failed to test the app for the Assistant ERROR: Request contains an invalid argument. Field Violations: # Field Description 1 agent_version_content.action Your app must have at least one action for locale en 2017/10/09 17:48:46 Server did not return HTTP 200 This has also been raised at least twice in the Google+ community - so far without any proper answer. What can we do, to get rid of this

Cannot find module 'actions-on-google'

那年仲夏 提交于 2020-01-06 02:43:26
问题 I was going through google's tutorial for their action, while trying to make some modifications to suit what I was trying to do. When I run the terminal command 'firebase deploy', after a bit of processing my terminal will say: "Error parsing triggers: Cannot find module 'actions-on-google'. Try running npm-install in your functions directory before deploying. I have run npm-install in the functions directory, but have had no luck in getting this to work. Here is the top bit of code in my

ApI AI app works fine on web simulator but not on Android phone

安稳与你 提交于 2020-01-05 07:07:24
问题 I am trying to create an api.ai based app on Google home. Tested using the web simulator and Google Home, it works completely fine. Application is just in dev mode, not yet send to Google to approve. Now, I tried to test this app from my Android Phone - I think, that I should do it from Google App, but when I said "Ok, Google, talk to " - it just search this utterance, without any real interaction. What I am doing wrong, how it should really work? 回答1: It should work, just double check the

Unable to upload content via google spreadsheet in Google Actions

烂漫一生 提交于 2020-01-05 05:00:15
问题 I am creating a Google Action's project using a Flash Card template. I am following the steps from google documentation. But after updating the questions and answers, and other required field I am not able to upload contents from my sheet to google actions console like the documentation does in step 14. After clicking on Upload in Step 13, I see a success message saying check_circleYour content was uploaded successfully, 35 rows of content were detected but when I click on Create App after

“Accounts failed to link” error happens when I try to authorize Google Assistant at my Web service

偶尔善良 提交于 2020-01-05 02:34:52
问题 First, I'd like to mention that problems like this had been discussed before in the topics like: How to authenticate user with just a Google account on Actions on Google? But I could not find any information at all related to ways of linking Google Assistant app with my own web server. Problem: GET https://oauth-redirect.googleusercontent.com/r/my-google-assistant-app#access_token=ACCESS_TOKEN&token_type=bearer&state=STATE always returns "Account field to link" error A Way to Reproduce: I