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

Cloud IAM permission 'cloudtranslate.generalModels.predict' denied. " #44

Open
a-russkikh opened this issue Jan 12, 2023 · 6 comments
Open

Comments

@a-russkikh
Copy link

a-russkikh commented Jan 12, 2023

Hi,
I`m getting this error even after I was successfully logged in to my google account and 'token.pickle' got created.

    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://translation.googleapis.com/v3beta1/projects/sasa:translateText?alt=json returned "Cloud IAM permission 'cloudtranslate.generalModels.predict' denied.". Details: "Cloud IAM permission 'cloudtranslate.generalModels.predict' denied. "

image

Thank you.

@TharunDharmaraj
Copy link

Hey...Same here...Can you tell me how to overcome this?

@TharunDharmaraj
Copy link

image

@TharunDharmaraj
Copy link

Fixed.

I formatted my SRT file to the correct format and it fixed.

@a-russkikh
Copy link
Author

Could you tell me what`s wrong with mine?

1
00:00:07,000 --> 00:02:06,000
Martin Luther King Jr.

2
00:02:08,000 --> 00:05:07,000
Day is a federal holiday in the United States,

3
00:05:07,000 --> 00:11:01,000
observed on the third Monday of January each year, in
honor of Martin Luther King Jr.

@ThioJoe
Copy link
Owner

ThioJoe commented Jan 25, 2023

Could you tell me what`s wrong with mine?

@a-russkikh It actually looks like he had a totally different error than your initial one

@Alokkumar8
Copy link

Alokkumar8 commented Aug 23, 2023

i solved it by signing in with same account that i created google cloud project with

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

4 participants