Google Cloud Translation Provider error 403 (Forbidden)

Hello guys!

I have been using Google Cloud Translation Provider for many years now, but after the last Trados Update, it stopped working.

When I try to use Google Cloud Translation Provider again, I got the following error message:

ERROR (403) - Forbidden

Can you please check it out and tell me how to solve this problem?

Screenshot of a software interface with a Google Cloud Translation Provider settings window open, showing an 'Unexpected error' message box with 'ERROR (403) - Forbidden' and a file path where the error was logged.



Generated Image Alt-Text
[edited by: RWS Community AI at 9:02 PM (GMT 0) on 12 Dec 2024]
emoji
  • 1. Verify Your Google Cloud Translation API Key

    Log in to your Google Cloud Console.

    Go to APIs & Services > Credentials.

    Check if the API key you're using for Trados is active and unrestricted.

    If restricted, ensure the restrictions align with Trados' requirements.

    If necessary, generate a new API key:

    1. Click Create Credentials > API Key.

    2. Replace the old API key in Trados with the new one.

    ---

    2. Check API Permissions

    Go to APIs & Services > Library in the Google Cloud Console.

    Confirm that the Cloud Translation API is enabled for your project.

    If not enabled, enable it and test again in Trados.

    ---

    3. Check Quotas and Billing

    Go to APIs & Services > Quotas and verify you haven't exceeded the quota limits for the Cloud Translation API.

    Ensure your Google Cloud billing account is active and up to date:

    Go to Billing > Overview in the Google Cloud Console.

    ---

    4. Ensure Trados Is Configured Correctly

    Open Trados and navigate to the Google Cloud Translation Provider settings.

    Re-enter your API key to ensure no errors occurred during input.

    Confirm that Trados supports the version of the Google Cloud Translation API you're using.

    ---

    5. Update Trados Plugins

    Visit the Trados AppStore and ensure you're using the latest version of the Google Cloud Translation Provider plugin.

    Uninstall and reinstall the plugin if needed.

    ---

    6. Debugging Connection Issues

    If you use a corporate firewall or proxy, ensure it allows traffic to Google Cloud services.

    Test the API key directly using a cURL command or Postman to ensure it works independently:

    curl -X POST \

    -H "Content-Type: application/json" \

    -H "Authorization: Bearer YOUR_API_KEY" \

    -d '{"q": "Hello, world!", "target": "es"}' \

    "">translation.googleapis.com/.../v2"

    If this fails, the issue lies with your Google Cloud configuration.

    ---

    7. Contact Support

    If the above steps fail, reach out to Trados Support or Google Cloud Support for assistance. Provide

    the error details and steps you've tried.

    emoji
  • Dear Rinky Patel,

    I have tried all the steps you suggested above, but was unable to fix the problem.

    Then, I created another GOOGLE CLOUD PROJECT from scratch, and then a new Google Cloud Translation API Key, and it worked Slight smile

    Thank you very much for your support, I could have never get it done without your initial ideas!

    emoji