Search code examples
google-cloud-platformgoogle-translategoogle-translation-api

Google cloud platform | 100% API error rate when using google translation API


I've been using google cloud platform for a year with breaks from time to time. I only needed Google Translate API, which was working fine until recently. I don't know what exactly changed from Google`s side because nothing has changed from my side. I'm still using the API key for translating documents in MemoQ. Now, when MemoQ sends requests to Google servers, it doesn't return translation. I don't know the technical details but will try to explain : I created a Google cloud account, set up billing, created a project, added Google Cloud translation API to it, the generated API key needs to be told to MemoQ - a tool for translation, then when MemoQ sends a request it should get a reply from Google with translated text, but now I don't get the translated text back.

At Google Cloud Console I can see the history of API use, I see that requests from MemoQ are coming to Google Cloud, but the Error rate is 100%.

I don't know what could be done here. I tried setting up a different API key, using a different account, but nothing helped. I can't consult Google Cloud tech support because I'm using a basic plan of Google Cloud.

Google Cloud Console API Errors

enter image description here

I've downloaded the .CSV file for errors, it has several lines as follows:

time,google.cloud.translate.v2.TranslateService.TranslateText

2019-11-14T11:25:53.658Z,1

2019-12-02T07:49:53.658Z,1

2019-12-02T11:25:53.658Z,1

I installed Fiddler as proposed by @AmanKejriwal, I tried to translate something, I can see the requests at GC Dashboard, but I only found very little evidence of google in fiddler. I also tried using Microsoft machine translation that I also have set up in MemoQ, but didn't find many Microsoft translation-related items either.

enter image description here

A closer look at these items didn't give me any more information.

enter image description here

All the abovementioned Google-related items belong to "Chrome" process though. None of them belong to "MemoQ" process. The only item belonging to "MemoQ" process is the one highlighted at the screenshot, which is a request for updates.

enter image description here


Solution

  • Issue solved. I contacted MemoQ support, they asked to send them a log file. After analyzing it, they said that this issue is probably caused by exceeding machine translation quota. The advice was to increase the quota in billing. I've never exceeded a quota, but by looking at my account's billing info I found out that my billing account was stopped so I activated it back again. Since then everything went back to normal. Thank you for trying to help me solve my problem!