0
我正在关注Google Cloud Platform文档中关于Object Change Notifications的示例。Google云端平台上的对象更改通知
存储桶由一个应用程序(application-1
)拥有,并且应接收通知的App Engine应用程序是一个单独的应用程序(application-2
)。这两个应用程序的服务帐户都是存储桶的存储对象管理员。
但是,我无法创建通知通道来观看存储桶。当我尝试使用gsutil
这样做,会返回一个错误:
gsutil notification watchbucket https://application-2.appspot.com gs://bucket
Watching bucket gs://bucket/ with application URL https://application-2.appspot.com ...
ServiceException: 401 Unauthorized WebHook callback channel: https://appication-2.appspot.com
我已经证实,域(https://application-2.appspot.com
)使用Search Console验证过程验证和配置为这两个项目一个网络挂接通知域。