【问题标题】:Google Assistant - Action not approvedGoogle 助理 - 操作未获批准
【发布时间】:2018-07-27 08:27:25
【问题描述】:

我最近创建了一个动作,并在网络模拟器和我的 Pixel 2 设备上对其进行了测试。它对我来说很好。但是在审核过程中,Google 的团队提到,在审核时他们发现错误说我的应用程序现在没有响应。请稍后再试。 (附截图)。社区中的人可以帮助我解决问题。

如果有帮助,下面是完整的代码。



    'use strict';

    // Import the Dialogflow module from the Actions on Google client library.
    const {dialogflow} = require('actions-on-google');

    // Import the firebase-functions package for deployment.
    const functions = require('firebase-functions');

    // Instantiate the Dialogflow client.
    const app = dialogflow({debug: true});

    // Handle the Dialogflow intent named 'favorite color'.
    // The intent collects a parameter named 'color'.
    app.intent('think number', (conv, {nextStep}) => {
        conv.close('The result is 9.');
    });

    // Set the DialogflowApp object to handle the HTTPS POST request.
    exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);

审核小组的回复截图

【问题讨论】:

    标签: actions-on-google


    【解决方案1】:

    有时,如果它们与 Dialogflow 之间存在网络问题,或者 Dialogflow 没有响应,它们会很快拒绝。确保打开 Dialogflow 的日志以确保没有问题。

    一般来说,如果您没有看到任何错误并且事情似乎正在顺利进行,那么最简单的做法是:

    1. 重新提交

    2. 回复并告诉他们您正在使用 Dialogflow,应该会有回复。

    【讨论】:

    • 接受了答案,因为这是他们最后的一些问题。下次提交时同样的实现已经通过了。
    猜你喜欢
    • 2020-03-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多