【发布时间】:2018-02-20 15:21:06
【问题描述】:
我正在关注https://dialogflow.com/docs/getting-started/basic-fulfillment-conversation#deploy_function_again 的教程并执行gcloud beta functions deploy weatherWebhook --trigger-http。 Google 的回应似乎是成功的:
部署功能(可能需要一段时间 - 最多 2 分钟)...完成。
availableMemoryMb:256 入口点:weatherWebhook httpsTrigger:
网址:https://[..].cloudfunctions.net/weatherWebhook
标签:部署工具:cli-gcloud
名称:项目/[..]/functions/weatherWebhook
serviceAccountEmail:[..]@appspot.gserviceaccount.com
sourceUploadUrl:https://storage.googleapis.com/gcf-[..]
&Expires=1519141082&Signature=[..] 状态:ACTIVE 超时:60s
updateTime: '2018-02-20T15:08:02Z' versionId: '3'
但是,当我在浏览器中打开 URL 时,我收到以下错误消息:
错误:无法处理请求
我错过了什么吗?我该如何解决这个问题?
【问题讨论】:
-
您尝试过运行“gcloud beta 功能描述weatherWebhook”吗?该错误似乎表明 Cloud Functions 未成功,或者您的项目未启用 Cloud Functions API
标签: google-cloud-functions dialogflow-es