WebhookRequest is missing Parameters
See original GitHub issueI have a webhook set up in ASP.NET Core 2.1. If I use:
public ContentResult Post([FromBody] Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2WebhookRequest webhookRequest)
I can get my parameter by using the following syntax:
queryResult.Parameters["MyParameter"]
However, if I use:
public ContentResult Post([FromBody] Google.Cloud.Dialogflow.v2.WebhookRequest webhookRequest)
There are no parameters:
queryResult.Parameters.Fields["MyParameter"]
QueryResult.Parameters is always empty.
Am I doing something wrong or is this a bug? Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
Dialogflow WebhookRequest parameter list empty in C# . ...
Seems like "parameters" should contain the parameters I put in the Dialogflow console for the Weather intent. In my C# .NET Web API...
Read more >Our Request to your Webhook URL
What does Twilio send in its request to your webhook URL? See what parameters are included for SMS and WhatsApp-messages using Programmable Messaging....
Read more >WebhookRequest - Documentation
Decodes a WebhookRequest message from the specified reader or buffer, length delimited. Parameters: Name, Type, Description. reader, $protobuf.Reader ...
Read more >Missing Account ID field in Webhook payloads
Navigate to your workspace's settings;; Under Security, click on SSH Keys;; Locate the Key that's being used for push and click on the...
Read more >Package google.cloud.dialogflow.cx.v3
Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@RasmusKauffeld: Could you either file a new issue for this, or possibly ask on Stack Overflow? That would be better than adding to an existing but slightly different question. It would be good if you could show what you’ve tried so far and how close it gets. For list values, it’s simplest to use
Value.ForList(value1, value2, ...)
- hopefully that’ll help you get started.I’ve now added an example of how to implement a web hook in ASP.NET Core in the documentation:
https://googlecloudplatform.github.io/google-cloud-dotnet/docs/Google.Cloud.Dialogflow.V2/index.html
I’ll close this issue now, but do add more comments if it doesn’t help.