Localhost requests from referer are blocked
Asked Answered
H

1

9

I'm trying to run this project call thing translator from https://github.com/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.",…}}
Hairpiece answered 8/5, 2017 at 14:26 Comment(4)
You need to set up your API key.Galoshes
@Galoshes i've already set up the API key. Still not working.Hairpiece
You need to set it up to allow that referer.Galoshes
May I know which referrer are you talking about?Hairpiece
Q
8

Check your Google Cloud API key restriction. enter image description here

Qualify answered 22/11, 2018 at 6:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.