第一次来这里,我被困住了:(
我正在尝试按照快速入门指南进行实地项目。我已经尝试了无数种在Actions Console中创建项目的不同方法。我相信它应该是New project -> Game -> Blank project (for smart display)
。我已经为该项目启用了Actions API 。
我创建了这样的项目gactions init interactive-canvas --dest test-canvas
我已经sdk/settings/settings.yaml
用我的项目 ID 更新了文件。
当我尝试推动我的项目时,gactions push
我收到了一些警告,尤其是这个Custom actions can only be specified in Conversational Actions projects
:
...
Waiting for server to respond...
[WARNING] Server found validation issues (however, your files were still pushed):
Locale Validation Result
Custom actions can only be specified in Conversational Actions projects.
en Short description is required
en Long description is required
...
当我尝试运行时gactions deploy preview
,出现以下错误:
Deploying files in the project "test-canvas" to Actions Console for preview. This may take a few minutes.
Sending configuration files...
Sending resources...
Waiting for server to respond. It could take up to 1 minute if your cloud function needs to be redeployed.
[ERROR] Server did not return HTTP 200.
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"description": "Custom actions can only be specified in Conversational Actions projects."
}
]
}
]
}
}
我如何创建一个Conversational Actions project
?我以为我一直在这样做?我很困惑。谁能指出我正确的方向?
谢谢!
亲切的问候,托拜厄斯
$ gactions version
3.0.0+316143447