java - 请求缺少所需的身份验证凭据。预期的 OAuth 2 访问令牌、登录 cookie 或其他有效的身份验证凭据(部署)
问题描述
我想将 BitBucket 部署到 Google App Engine,我已经使用bitbucket-cloud/docs/deploy-to-google-cloud/这个链接完成了所有配置。我收到以下错误,您可以在 bitbucket 部署中看到我的日志如下:-
apitools.base.py.exceptions.HttpBadRequestError: HttpError accessing <https://appengine.googleapis.com/v1/apps/evadev0010/services/default/versions?alt=json>: response: <{'vary': 'Origin, X-Origin, Referer', 'content-type': 'application/json; charset=UTF-8', 'date': 'Mon, 29 Jun 2020 11:56:01 GMT', 'server': 'ESF', 'cache-control': 'private', 'x-xss-protection': '0', 'x-frame-options': 'SAMEORIGIN', 'x-content-type-options': 'nosniff', 'alt-svc': 'h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', 'transfer-encoding': 'chunked', 'status': '400', 'content-length': '145', '-content-encoding': 'gzip'}>, content <{
"error": {
"code": 400,
"message": "WEB-INF/appengine-web.xml is required for this runtime.",
"status": "INVALID_ARGUMENT"
}
}
>
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: WEB-INF/appengine-web.xml is required for this runtime.
+ status=1
+ set -e
+
解决此问题的任何帮助
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED"
}
}
谢谢你
解决方案
推荐阅读
- javascript - Django如何将查询集转换为json?
- javascript - Firefox 扩展:chrome.system 未定义
- express - Express Passport 未设置和发送 Cookie
- python - 如何在 Jenkins 管道作业中设置 Ansible (Python) 以取消缓冲输出
- php - 如何在 laravel 刀片视图中显示 pdf 文件且无法下载
- scala - 如何在 AWS EMR 上设置 Hadoop fs.s3a.acl.default?
- r - Binder 上的交互式 R 脚本不起作用。**找不到内核**
- python - 将列表中的两个数字相减,然后将差减去与之前的前一个数字相邻的另一个数字
- python-3.x - 如何设置税费并将其包含在订阅价格中 paypal sdk
- ios - 如何按数字和字母值快速对字符串数组进行排序?