Getting insufficient_quota error on TTS API while having enough credits

Hi,

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: https://platform.openai.com/docs/guides/error-codes/api-errors.', '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:

client.audio.speech.create(
            model="tts-1",
            voice="alloy", 
            input=text
        )

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.