I did the following:
- Created a python flask API and ran it on a server using SSL
- Successfully tested the API using Postman
- Created a new project on https://console.actions.google.com/
- Created an action and gave it a name
- Skipped account linking for now (Later I also tried setting up linking without success)
- On the develop section I added my API as the fulfillment URL and saved
- On the test section I switched to "Speaker"
- Then I selected the suggested text
Results:
- No logging appears on the terminal where the flask application is running. So the action did not communicate with my web hook
- In the test section on the actions console I see "We're sorry, but something went wrong. Please try again."
- REQUEST, RESPONSE, and AUDIO are all empty
- DEBUG has the following information:
{
"response": "We're sorry, but something went wrong. Please try again.",
"expectUserResponse": false,
"conversationToken": "",
"audioResponse": "",
"ssmlMarkList": [],
"clientError": 8,
"is3pResponse": false,
"clientOperationList": [],
"projectName": "",
"renderedHtml": "",
"previewStartTimeMicros": "",
"isEmptyResponse": false,
"agentName": "",
"servingModelOutdated": false
}
Looking for a little help to get me going. The console did ask me to enable "Web & App Activity", which I did. I also tried setting up endpoints for account linking but didn't see anything trying to communicate with them.