admin管理员组文章数量:1297116
I'm trying to run this project call thing translator from and I found this error while running it.
It says:
{error: {code: 403, message: "Requests from referer http://localhost/www/index.html are blocked.",…}}
I'm trying to run this project call thing translator from https://github./dmotz/thing-translator and I found this error while running it.
It says:
{error: {code: 403, message: "Requests from referer http://localhost/www/index.html are blocked.",…}}
Share
Improve this question
asked May 8, 2017 at 14:26
DaniahDaniah
911 silver badge2 bronze badges
4
- 1 You need to set up your API key. – SLaks Commented May 8, 2017 at 14:42
- 1 @SLaks i've already set up the API key. Still not working. – Daniah Commented May 8, 2017 at 14:48
- 1 You need to set it up to allow that referer. – SLaks Commented May 8, 2017 at 15:49
- May I know which referrer are you talking about? – Daniah Commented May 9, 2017 at 14:26
1 Answer
Reset to default 9Check your Google Cloud API key restriction.
本文标签: javascriptLocalhost requests from referer are blockedStack Overflow
版权声明:本文标题:javascript - Localhost requests from referer are blocked - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741640907a2389911.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论