kelciour / awesometts-anki-addon

AwesomeTTS text-to-speech add-on for Anki
GNU General Public License v3.0
31 stars 2 forks source link

403 Client Error #29

Closed bradydjohnson closed 4 years ago

bradydjohnson commented 4 years ago

I'm getting the following error.

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

Image 2020-05-26 16-56-01

bradydjohnson commented 4 years ago

I think this was because I didn't enable the API https://console.cloud.google.com/flows/enableapi?apiid=texttospeech.googleapis.com&_ga=2.177920613.1399750414.1590529373-819823304.1590529373

kelciour commented 4 years ago

I'm a bit late and that's great it's been already resolved, but maybe consider to limit the current API key to certain IP addresses or deleting it and making a new one, since it's been posted online alongside with the error message and was compromised.

https://cloud.google.com/docs/authentication/api-keys#securing_an_api_key

bradydjohnson commented 4 years ago

Thanks so much for the heads up. Keys deleted.

I appreciate you alerting me.