Google translate API v2 - (403) Access Not Configured

后端 未结 2 1855
野的像风
野的像风 2021-01-18 13:33

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 remo

相关标签:
2条回答
  • 2021-01-18 14:11

    i had the same problem but with the tasks api, turns out i hadn't enabled the 'task api' under the services tab at https://code.google.com/apis/console. Maybe you're having the same problem but with the 'translate api' not being enabled

    0 讨论(0)
  • 2021-01-18 14:11

    I tryed to find solution, but it seems to be a Google API bug. Only relevant support service i found was at Google Groups, where's more people with the same kind of problem, but i dont found any solution nor effort to check it from Google.

    So here is workaround - Browser key which is not bound to IP, but http referer.

    Check out this if You are using Google APIs Client Library for PHP.

    Please note this is only temporary hack, not sollution. Browser keys are not bound to IP, so anyone can access Your API access if he know Your token. Connection is still via https.

    0 讨论(0)
提交回复
热议问题