首页 > 解决方案 > 无法在 Google Cloud Platform 中保存 API 和服务的 Oauth 设置屏幕

问题描述

在 GCP API 的 Oauth Consent Screen 中,填写 App Info、App Domain 和 Developer contact info 时,我单击保存并继续并收到一条错误消息:

保存您的应用时出错。

查看 HTTP 响应,我看到了以下详细信息:

{
   "error":{
      "code":3,
      "message":"The request failed because one of the field of the resource is invalid.",
      "details":[
         {
            "@type":"type.googleapis.com/google.rpc.PreconditionFailure",
            "violations":[
               {
                  "type":"client_auth_config",
                  "subject":"?error_code=9&error_field_name=UpdateBrandWithMaskRequest.brand_id&error_field_value=0"
               }
            ]
         }
      ]
   }
}

标签: google-cloud-platformoauth

解决方案


推荐阅读