Google Actions: Webhook handler does not include name
Closed this issue · 2 comments
asarazan commented
If I attempt to deploy using gactions push
, I get the following error:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"description": "Event handler contains function call named 'Jovo' which is not present in the interaction model."
}
]
}
]
}
}
The problem resolves by fixing the webhook file by adding the first two lines of the following snippet:
handlers:
- name: Jovo
httpsEndpoint:
baseUrl: <some_url>
endpointApiVersion: 2
rubenaeg commented
How does the webhook file look like when building with jovo build
?
asarazan commented
I'm not sure I'm capable of building non-dialogflow google models with jovo cli?
However I did just realize that the webhook file wasn't handled by jovo-model, it was handled by my prior call to gactions pull
so I'm happy to close this issue.