Google Colab:打开Python笔记本时出现API错误?

时间:2018-04-27 07:31:54

标签: python-3.x authentication machine-learning jupyter-notebook google-colaboratory

Google Colab提供无限制的Jupyter-notebook托管,在Google云端硬盘上运行,但这适用于我的大多数同事,但不能解决我的帐户触发API错误

Notebook loading error
There was an error loading this notebook. Ensure that the file is accessible and try again.
https://drive.google.com/drive/?action=locate&id=...
The referrer https://...-apidata.googleusercontent.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions.
Error: The referrer https://...-apidata.googleusercontent.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions.
    at za.program_ (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_
    at Ba (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_
    at za.next_ (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_
    at Da.next (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_
    at b (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_

如何解决Google Colab发生的身份验证API错误?

1 个答案:

答案 0 :(得分:1)

笔记本电脑是否在隐身窗口中加载?此类错误的常见原因是与您安装的某个扩展程序发生冲突。