Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Cloud Translation API error in server

My application uses Google Cloud Translation API for language translation. The API works fine when I run my application in local PC and in my personal domain, but when I deploy it into the client server(with a different domain) the translation API throws me the below error,

Mar 21 04:42:07 chatbot-app2 gunicorn[61109]:   
Your client does not have permission to get URL <code>/language/translate/v2</code> from this server. <ins>That’s all we know.</ins>

This only happens in different domains. First I deployed it in my personal domain and it worked fine in it. But when I move it to my clients domain it throws me this error. and I have updated my curl versions as I have seen in a previous solution but nothing works.

2 1 861
1 REPLY 1

Looking at your description it appears that the issue is on your client side. Upon research it may be caused by various reasons. (Browser, Network, Dependencies etc ).

Can you try the solution shared by this user with an almost similar question? It seems he had to update the client side's Curl version to be compatible with the api.

https://www.googlecloudcommunity.com/gc/AI-ML/Google-Cloud-Translate-API-Your-client-does-not-have-p...

Even then I would still recommend filing a support case for better investigation of your project's resources and root cause. https://cloud.google.com/contact

 

 

Top Labels in this Space