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

Significant increase in 502 errors from Cloud Translation API

nexus7
New Member

Over the past 3 days, the Cloud Translation API (V2) has been returning many 502 errors. I have not changed my usage of the API and it has been working mostly fine for my application for years now. See the chart below of the past 7 days:

Screen Shot 2024-08-21 at 10.06.26 AM.png

I can see in my application's logs that these are 502 errors.

Have there been any recent incidents? I can't seem to find anything on the status page.

0 1 172
1 REPLY 1

Hi @nexus7,

Welcome to Google Cloud Community!

The 502 error code you received indicates that there might be an issue with the connection between the Cloud Translation API and your request.

Here are possible workaround to resolve this issue:

  • Check the Google Cloud Status Dashboard - The Google Cloud Status Dashboard will show if there are any ongoing issues or maintenance activities affecting the Cloud Translation API. 
  • Retry Request - Sometimes the issue is temporary and retrying after a short delay might resolve the problem. This approach is called Exponential backoff algorithm.

If the error persists, you can also  Create new Cloud Translation issue report for further investigation and check if this could be a potential bug or project-specific issue only. 

I hope the above information is helpful.

Top Labels in this Space