Getting OpenAI API error : 429 in azure databricks while using OpenAI API key
Sooriya E
35
Reputation points
Hi Team,
In Azure Databricks, our pipeline could successfully process datasets with up to 18,000 records via the LLM endpoint without issue.
- Recently, with the same application code and logic, the API is frequently returning "OpenAI API error: 429 Too Many Requests" for much smaller batches.
- Now, even with batches as small as 500 records, ~300 records are failing due to this error.
- As suggested online, I regenerated our Azure OpenAI API key and updated our secret. This also did not resolve the issue.
- Even after this, when processing 400 records, about 40 fail due to the same 429 error.
- There have been no significant changes to our code or request pattern. Could you please investigate if there have been any changes to our Azure subscription, OpenAI service quotas, network throttling, or policy restrictions that could explain these errors? This issue is impacting our deliverables and client commitments — your urgent attention would be greatly appreciated. ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429 ERROR:dqapp.llm.llm_handler:OpenAI API error: 429
Thanks,
Sooriya E
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Sign in to answer