dmotz / thing-translator

📷 🗣 Point your camera at things to hear how to say them in a different language
https://thing-translator.appspot.com/
MIT License
1.33k stars 232 forks source link

Requests from referer are blocked #13

Open smshahiran opened 7 years ago

smshahiran commented 7 years ago

I'm trying to run this project in localhost and I encountered this error while running it.

It says:

{error: {code: 403, message: "Requests from referer http://localhost/www/index.html are blocked.",…}}

Anyone can help?

dmotz commented 7 years ago

You need to set your Google Cloud API key.

smshahiran commented 7 years ago

Hi, I already setup mine but the problem still insist. I already turned on Google Cloud Vision and Google Translator API.

FluorescentHallucinogen commented 7 years ago

@smshahiran Check your Google Cloud API key restriction.

api-key-restriction