请求缺少必需的身份验证凭据。预期的OAuth 2访问令牌,登录cookie或其他有效的身份验证凭据(部署)

时间:2020-06-29 12:30:07

标签: java google-app-engine gwt bitbucket

我想将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"
  }
}

谢谢

0 个答案:

没有答案