【问题标题】:Google API Key failed on google urlshortener api谷歌 urlshortener api 上的谷歌 API 密钥失败
【发布时间】:2016-08-25 10:56:31
【问题描述】:

我在通过 ApiKey 使用 Google urlshortener api 时收到此错误消息: (我使用相同的 API 密钥在同一个应用程序中显示谷歌地图没有任何问题) 我哪里做错了?

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 禁止的 “代码”:403, “错误”:[ { “域”:“使用限制”, "message": "Android 包名和签名证书 指纹,null和null,不匹配app限制 在您的 API 密钥上配置。请使用 API 控制台更新您的 关键限制。", “原因”:“ipRefererBlocked”, “扩展帮助”: "https://console.developers.google.com/apis/credentials?project=xxxx" } ],> "message": "Android 包名和签名证书 指纹,null和null,不匹配app限制 在您的 API 密钥上配置。请使用 API 控制台更新您的 关键限制。”*

【问题讨论】:

    标签: android google-api short-url


    【解决方案1】:

    您必须使用浏览器键,而不是 android 键。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-01-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-06
      相关资源
      最近更新 更多