STATUS:INVALID_ARGUMENT 和 ERROR:API Key 和身份验证凭证来自不同的项目

Vee*_*eru 4 google-streetview-publish

在第 3 步中上传照片的元数据时,在谷歌街景中出现错误:

{
  "error": {
    "status": "INVALID_ARGUMENT", 
    "message": "The API Key and the authentication credential are from different projects.", 
    "code": 400, 
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.Help", 
        "links": [
          {
            "url": "https://console.developers.google.com/project/3624944027/apiui/credential", 
            "description": "Google developer console API key"
          }
        ]
      }
    ]
  }
}
Run Code Online (Sandbox Code Playgroud)

Tho*_*her 7

这意味着 API Key 和身份验证凭证来自不同的项目。尝试使用与您的凭据来自同一项目的 API 密钥。您甚至可以去掉 API 密钥,因为仅凭凭据就可以解决问题。