Skip to content

Failed to parse Dialogflow  #1

@dudunegrinhu

Description

@dudunegrinhu

Hi,

So far this is the best PHP Webhook I found but I'm having and error when I do any build response and response after.

If I do
$wh->respond_simpleMessage('Say this out loud', 'Display this text on screen');

It works perfect but If I do:

$textToSpeech = "Say this text out loud"; $displayText = "Display this text on screen"; $wh->build_simpleResponse($textToSpeech, $displayText); $wh->respond();

I get the error below:
Failed to parse Dialogflow response into AppResponse because of empty speech response

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions