如何修复 "The referrer https://www.googleapis.com/ does not match the referrer restrictions..."

How to fix "The referrer https://www.googleapis.com/ does not match the referrer restrictions..."

这是我所做的。请记住,我以管理员身份登录到浏览器,并在相关域下使用 G Suite 帐户。

  1. 我转到 PageSpeed Insights url https://developers.google.com/speed/pagespeed/insights/
  2. 我在框中输入我的网站
  3. 错误:The referrer https://www.googleapis.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions

    一个。 google 怎么知道我没有配置密钥?

    b。什么钥匙?

    c。没有 link 到 "my" API 控制台(我不知道我有一个)

  4. 搜索 API 控制台并得到(最终):https://console.developers.google.com/apis/

  5. 凝视和绝望..."Page not viewable for organizations. To view this page, select a project"(什么?)。我看到凭据(不要点击它,还没有,我点击了,你会后悔的)
  6. 长话短说,我想我必须先创建一个项目。
  7. 此时我不知道我在做什么,我在创造什么,尤其是:为什么。
  8. 点击启用 Apis,select PageSpeed,点击创建等等等等。
  9. 现在单击创建凭据(我们返回到 api 页面)。这是一场令人愉快的噩梦……重要的部分,在 "calling it from" USE: "a server" 中,是唯一有效的部分! (想知道为什么其他选择,特别是 "from browser" 因为在我看来这就是我在做的事情)
  10. 现在有一把钥匙放在那里。现在怎么办?
  11. 我转到第 1 点并以微小的变化重复此列表 50 次

相关域:https://niagarafallsbus.com

已解决:我在 "shields up" 中使用 Brave Browser。