0

{ "code": 429, "message": "Resource has been exhausted (e.g. check quota).", "status": "RESOURCE_EXHAUSTED" } I don't completely understand. Why I get this. As I can see my quotas I very or extremely far from the limits. As docs says I have 1000 request per minute. I use no more than 150-200 or even less. Quotas of using Text-to-Speech shows me usage around 5%.

  • I start 3-4 processes started at the same time to generate 15-20 short phrases 100-150 symbols in each process. Just each process has 15-20 phrases and generate it one by one in loop. So we have 4 requests at the same time with a small gap and the gap of coure depends on phrases length.
  • I expect that all phrases will be generated with no any errors, however, all request fail.
Sergey Egorov
  • 305
  • 2
  • 6
  • Google cloud [text-to-speech](https://cloud.google.com/text-to-speech/quotas) api has some quotas limits. You can check metrics and quotas using the Google Cloud console's [API dashboard](https://console.cloud.google.com/apis/dashboard?_ga=2.221771480.1550360314.1675655584-1825960524.1667376602&_gac=1.21204297.1675944150.CjwKCAiA0JKfBhBIEiwAPhZXD0ek2vdX-YOZcp8WwI3D59sMRPv2Z_QSPKPiOl7s0jHqqrz7XWfX8hoC1CIQAvD_BwE).For more information you can follow this [link](https://cloud.google.com/apis/docs/monitoring#using_the_api_dashboard). Let me know if this helps you or not. – kiran mathew Feb 09 '23 at 13:12

0 Answers0