-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue while testing three doors action #1
Comments
Same here.
With {
"versionLabel": "1.0",
"agentInfo": {
"languageCode": "en-US",
"projectId": "three-doors-1294",
"voiceName": "male_1"
},
"actions": [
{
"description": "Launch intent",
"initialTrigger": {
"intent": "assistant.intent.action.MAIN"
},
"httpExecution": {
"url": "https://us-central1-three-doors-1294.cloudfunctions.net/three_doors"
}
}
]
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Jonathan,
Thanks for the documentation on steps for setting up the three doors action. I followed the steps mentioned. While testing the action through gactions over command line if facing the below issue. Could you please help me resolve this issue.
My action.json file looks like
{
"versionLabel": "3.0",
"agentInfo": {
"languageCode": "en-US",
"projectId": "doors-three-0001",
"voiceName": "male_1"
},
"actions": [
{
"description": "Launch intent",
"initialTrigger": {
"intent": "assistant.intent.action.MAIN"
},
"httpExecution": {
"url": "https://us-central1-doors-three-0001.cloudfunctions.net/three_doors"
}
}
]
}
Error Detail :
ML137344:google-action-three-doors w37240$ ./gactions test --project "doors-three-0001" --action_package action.json --preview_mins 1234
Pushing the app for the Assistant for testing...
ERROR: Failed to test the app for the Assistant
ERROR: Invalid JSON payload received. Unknown name "http_execution" at 'preview_action_package.action_package.actions[0]': Cannot find field.
Invalid JSON payload received. Unknown name "initial_trigger" at 'preview_action_package.action_package.actions[0]': Cannot find field.
Invalid JSON payload received. Unknown name "agent_info" at 'preview_action_package.action_package': Cannot find field.
Invalid JSON payload received. Unknown name "version_label" at 'preview_action_package.action_package': Cannot find field.
Field Violations:
Field Description
1 preview_action_package.action_package.actions[0] Invalid JSON payload received. Unknown name "http_execution" at 'preview_action_package.action_package.actions[0]': Cannot find field.
2 preview_action_package.action_package.actions[0] Invalid JSON payload received. Unknown name "initial_trigger" at 'preview_action_package.action_package.actions[0]': Cannot find field.
3 preview_action_package.action_package Invalid JSON payload received. Unknown name "agent_info" at 'preview_action_package.action_package': Cannot find field.
4 preview_action_package.action_package Invalid JSON payload received. Unknown name "version_label" at 'preview_action_package.action_package': Cannot find field.
2017/06/23 12:52:42 Server did not return HTTP 200
The text was updated successfully, but these errors were encountered: