i have problem with Google console API while using Google translate trough it. When i run the test from my local machine, it works great, but when i try to run it at my remote test virtual server it return that 403 above.
I am using Simple API access by Server key in console API access and my key is configured to both local and test machine IP addresses.
debug:
lynx --dump "checkip.dyndns.org";
- IP match with the one in my API key setup in google API console
curl -v "https://www.googleapis.com/language/translate/v2?q=hello&target=de&source=en&key=MYAPIKEY"
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}
Like i said, the same works at my local machine. API key is configured for both IPs in Google API console
UPDATE: when i used "Browser key" attached to url referrer instead of IP, it works. So the problem needs to be somehow in IP, but i cant get where. Any "whatsmyip" service confirms my IPs match.