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

'Forbidden for url' error: demo API key for google cloud TTS #316

Open
Valps opened this issue Mar 12, 2024 · 3 comments
Open

'Forbidden for url' error: demo API key for google cloud TTS #316

Valps opened this issue Mar 12, 2024 · 3 comments

Comments

@Valps
Copy link

Valps commented Mar 12, 2024

From a few days ago I consistently receive this message as I try to create an audio with awesomeTTS using google TTS:

403 Client Error: Forbidden for url: https://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyAa8yy0GdcGPHdtD083HiGGx_S0vMPScDM

Is the demo API key not working anymore?

@luc-vocab
Copy link
Collaborator

It does look like it, I've had this report from other users, unfortunately I cannot do anything about it.

@ChoyHsien
Copy link

I'm getting the same thing with my own key.

@akhouderchah
Copy link

This is an issue with the key, not the service implementation.

Run curl -XPOST $URL to see more details.

In the case of the demo key, I got an API_KEY_HTTP_REFERRER_BLOCKED error.

In the case of a personal key, the response redirected me to enable the API (not sure if you can get away with providing a payment method, even if you can avoid paying during the trial period and/or if you stay below the monthly usage threshold). Having done that, things are working as expected on my end.

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