Getting insufficient_quota error on TTS API while having enough credits


I’m getting the following error:

An error occurred: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs:', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

Even though my limit is far from the usage and I have credits purchased and available.

Any guidance on what else could be wrong?

code is:

Just replying to myself in case it’s useful to others. It fixed itself after ~15 minutes, so I’m guessing that newly purchased credits take a bit to propagate.