Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot config GoogleLegitimate translator to work #664

Open
s5706820 opened this issue Jan 31, 2025 · 0 comments
Open

Cannot config GoogleLegitimate translator to work #664

s5706820 opened this issue Jan 31, 2025 · 0 comments

Comments

@s5706820
Copy link

Let say i am stupid.
I Try free trial of google cloud
get the project up, enable translate API, Set service account for Translated API Agent , Get Json file for API key
try to copy "private_key" to the GoogleAPIKey box in the config file.

Translator output show that "Failed to retrieved translation"
So, i think i config something wrong

But what is it? 😢😢😢

in API analyzed show zero traffic, so i guess it the Translator client that i got it wrong
My Json file is in the format like this.

is the private_key an API key in the first place? 😢😢

{ "type": "service_account", "project_id": *** "private_key_id": *** "private_key": "-----BEGIN PRIVATE KEY-----\n*** "client_email": *** "client_id": *** "auth_uri": *** "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": *** "universe_domain": "googleapis.com" }
please forgive me if this is stupid but i try to read as much doc as i can, but still have no idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant