简体   繁体   English

即使我没有更改示例项目中的任何内容,使用 Google Actions 控制台也会出现错误

[英]Using the Google Actions console gives me an error, even if I didn't change anything in the sample project

I'm trying to make a custom google action using the Google Actions console .我正在尝试使用Google Actions 控制台进行自定义 google 操作。 So far I've had a pretty rough time, given that all the tutorials I found are outdated(-2020).到目前为止,鉴于我发现的所有教程都已过时(-2020 年),我度过了一段非常艰难的时期。 What I did was start with a sample Hello World project:我所做的是从一个示例 Hello World 项目开始: 从一个 hello world 项目开始

And then go straight to the test tab (I did this because I thought I was doing something wrong).然后 go 直接到测试选项卡(我这样做是因为我认为我做错了什么)。 Every time I try to test I get the error message "Cloud function deployment failed":每次我尝试测试时都会收到错误消息“Cloud function 部署失败”:

得到错误

I tried looking around in the official documentation, but I couldn't find anything that helped.我尝试在官方文档中四处寻找,但找不到任何有用的东西。

First - it is important that you understand that any Conversational Actions created using the Actions console will be shut down starting June 13th, 2023.首先 - 请务必了解,使用操作控制台创建的任何对话操作将从 2023 年 6 月 13 日开始关闭

I think the problem in your case is that the Hello World uses the Inline Cloud Functions Editor to hold the code.我认为您的问题是 Hello World 使用内联云函数编辑器来保存代码。 You can see this if you go to the Develop tab along the top and then the Webhook navigation on the left.如果您将 go 转到顶部的“开发”选项卡,然后转到左侧的 Webhook 导航,则可以看到这一点。

As the banner says there, in order to deploy this function, you need to associate the project with a billing account in the Google Cloud console.正如横幅所说,为了部署此 function,您需要将项目与 Google Cloud 控制台中的结算帐户相关联。 Without this billing account, it won't be able to deploy the function, and you'll get that vague error.如果没有此计费帐户,它将无法部署 function,并且您会收到那个模糊的错误。

云函数编辑器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “错误:禁止”http 控制台触发器不起作用,即使我是项目所有者 - "Error: Forbidden" http console trigger doesn't work even though I am the project owner 'firebase init' 给了我一个离子项目的一般错误 - 'firebase init' gives me a generic error on a ionic project 谷歌云 SDK:gcloud auth login 给我一个错误 - Google Cloud SDK: gcloud auth login gives me an error Google Cloud Console 不显示项目信息 - Google Cloud Console dosen't show project information 如何从 Google Cloud Console 中删除项目 - How to delete a project from Google Cloud Console 如果值未更改,Firestore 文档更新请求是否会运行? - Does Firestore document update request run if the value didn't change? 我需要使用从 firebase 获取的数据创建一个旋转木马滑块。 我尝试了很多方法但没有用 - I need to create a carousel slider using the data fetch from firebase. i have tried a lots of methods but didn't work 我无法删除对谷歌项目的操作 - I can't delete action on google project 批准和发布的 Google OAuth 同意屏幕仍然显示“此应用未经验证”错误 - Approved & Published Google OAuth consent screen still gives "This app isn't verified" Error 为什么即使我已经降级了版本,我也无法更改 Typescript 版本 - why I can't change Typescript version even though I have downgraded the version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM