Getting “Sorry, I didn't get any response.” me

2019-04-09 22:13发布

问题:

When I tried Multi-surface conversations (Hand-off from Google Home to Android Google Assistant), I'm getting "Sorry, I didn't get any response." I'm using Action SDK and locale is "ja".

Here is my response:

{
    "conversationToken": "(token)",
    "expectUserResponse": true,
    "isInSandbox": true,
    "expectedInputs": [
        {
            "possibleIntents": [
                {
                    "intent": "actions.intent.NEW_SURFACE",
                    "inputValueData": {
                        "@type": "type.googleapis.com/google.actions.v2.NewSurfaceValueSpec",
                        "context": "Sure, I have some sample images for you.",
                        "notificationTitle": "Sample Images",
                        "capabilities": [
                            "actions.capability.SCREEN_OUTPUT"
                        ]
                    }
                }
            ],
            "inputPrompt": {
                "richInitialPrompt": {
                    "items": {
                        "simpleResponse": {
                            "textToSpeech": "PLACEHOLDER_FOR_NEW_SURFACE"
                        }
                    }
                }
            }
        }
    ]
}

Does anyone know why?

回答1:

Turns out that this is not a bug in a certain locale, but that askForNewSurface is currently supported for english locales only. This is what I got from AoG support:

Hi Jan,

Thank you for your interest in Actions on Google. askForNewSurface is indeed only available for English locales. We are in the process of changing the documentation to reflect those restrictions. Sorry for the confusion. We do not have any set det for the release of this feature in other locales.

Kind Regards,

Jean-Charles, Actions on Google Support Team.



回答2:

It seems to be available only in english but i find no clear statement about this on any documentation.

I tried the exact same code in english and in french, it works in english, not in french.