[SOLVED][OS X] 403: Forbidden
Thread poster: Jia-Geng Chang

Jia-Geng Chang
United Kingdom
Local time: 19:46
Japanese to English
Aug 30, 2018

I am trying to use Google Translate V2 to get automated translation.

I have gone through all necessary procedures on google cloud and obtained the API key (I am still on trial version though).

According to this guide (http://omegat.org/en/howtos/google_translate.html), I was told to "Find the file OmegaT.app/Contents/MacOS/OmegaT.sh and select your preferred e
... See more
I am trying to use Google Translate V2 to get automated translation.

I have gone through all necessary procedures on google cloud and obtained the API key (I am still on trial version though).

According to this guide (http://omegat.org/en/howtos/google_translate.html), I was told to "Find the file OmegaT.app/Contents/MacOS/OmegaT.sh and select your preferred editor to open the file."
Of course, such a file did not exist even though it was the latest version of Omega. I only had an OmegaT Unix executable file.

Hence, I entered the API key through the Omega T interface (Omega T>Preferences>Machine Translation>Google Translate v2>Configure) and I thought everything would work.

Nonetheless, I got the 403 Forbidden error as shown:

Screenshot 2018-08-30 18.28.54

I don't think it is an issue with my API key as I have tried 2 other API keys.

Really looking forward to hearing any advice you guys might have

Thanks and cheers
Jia-Geng
Collapse


 

Didier Briel  Identity Verified
France
Local time: 20:46
English to French
+ ...
It should work Aug 30, 2018

Jia-Geng Chang wrote:

I am trying to use Google Translate V2 to get automated translation.

I have gone through all necessary procedures on google cloud and obtained the API key (I am still on trial version though).

I'm not sure what a trial version covers.
Did you give your credit card number?


According to this guide (http://omegat.org/en/howtos/google_translate.html), I was told to "Find the file OmegaT.app/Contents/MacOS/OmegaT.sh and select your preferred editor to open the file."
Of course, such a file did not exist even though it was the latest version of Omega.

It's because it's the latest version of OmegaT, that the manual doesn't match:
"Documentation, particularly of new features, will be less comprehensive than that of the Standard version."
https://omegat.org/download

Hence, I entered the API key through the Omega T interface (Omega T>Preferences>Machine Translation>Google Translate v2>Configure) and I thought everything would work.

Nonetheless, I got the 403 Forbidden error as shown:

Screenshot 2018-08-30 18.28.54

I don't think it is an issue with my API key as I have tried 2 other API keys.

Really looking forward to hearing any advice you guys might have

If the API key is valid and entered correctly, it should work.

Didier


Jia-Geng Chang
 

Jia-Geng Chang
United Kingdom
Local time: 19:46
Japanese to English
TOPIC STARTER
Problem Solved Aug 30, 2018

I deleted the previous few APIs I tried and created a new one.
Another error (400: bad request) showed up and I was about to give up and try the standard Omega T version approach.
However, I stuck around the Machine Translation window for a few moments longer, de-selecting the Microsoft Translator such that Google Translate v2 was the only one remaining etc., then it miraculously worked. I added the key the same way through Omega T>Preferences...>Machine Translation>Configurations... See more
I deleted the previous few APIs I tried and created a new one.
Another error (400: bad request) showed up and I was about to give up and try the standard Omega T version approach.
However, I stuck around the Machine Translation window for a few moments longer, de-selecting the Microsoft Translator such that Google Translate v2 was the only one remaining etc., then it miraculously worked. I added the key the same way through Omega T>Preferences...>Machine Translation>Configurations

The root cause is unknown, however, as my billing was done up from the start. Maybe it needed some time to propagate to their back-end records.

Thanks, Didier

Cheers
Jia-Geng

NB
The current google translate v2 is called Cloud Translation. It works on a 365-day free trial system. The user sets up his billing system and $300 in credits will be billed to his account for use. Any fees incurred will be deducted from the credits until it expires in 365 days.

[Edited at 2018-08-30 17:55 GMT]
Collapse


 

ari kim
South Korea
English to Korean
+ ...
same error Dec 4, 2018

Hi Jia-Geng,

I'm so happy to find your post because I have exactly the same problem as you, but there's no place I can ask to or get help from.

My OmegaT is version 4.1.5, the latest. I tried that "OmegaT.sh" thing, which neither could I find. I put API key via the preference tab, and I have "403: Forbidden" problem. and still have that problem.

Did yours work on another version of OmegaT, the basic one?

Or do you think it's because you changed
... See more
Hi Jia-Geng,

I'm so happy to find your post because I have exactly the same problem as you, but there's no place I can ask to or get help from.

My OmegaT is version 4.1.5, the latest. I tried that "OmegaT.sh" thing, which neither could I find. I put API key via the preference tab, and I have "403: Forbidden" problem. and still have that problem.

Did yours work on another version of OmegaT, the basic one?

Or do you think it's because you changed API?
Collapse


 

Didier Briel  Identity Verified
France
Local time: 20:46
English to French
+ ...
Standard support is in the Yahoo support group Dec 4, 2018

ari kim wrote:
I'm so happy to find your post because I have exactly the same problem as you, but there's no place I can ask to or get help from.

You can always ask for help in the Yahoo support group:
https://groups.yahoo.com/neo/groups/OmegaT/info

My OmegaT is version 4.1.5, the latest. I tried that "OmegaT.sh" thing, which neither could I find. I put API key via the preference tab, and I have "403: Forbidden" problem. and still have that problem.

Did yours work on another version of OmegaT, the basic one?

Or do you think it's because you changed API?

Use OmegaT 4.1.5, and use the correct API key.

It should work.

Didier


 


There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »


[SOLVED][OS X] 403: Forbidden

Advanced search






SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running and helps experienced users make the most of the powerful features.

More info »
SDL MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search