https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> RateLimitError Error: 429 ...
# ❓・ai-evy-support
g
@AI Evy RateLimitError Error: 429 Too Many Requests i have this error can you help me
a
Thanks for tagging me @ganabi123. I'll look through relevant sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Retell Node API Library]() * [Retell Python API library]() * [Debug call disconnection]() * [System Stuck sending rate limit error, for last 15min stuck in the same positions Please help]() -----------------------------
### Answer Based on the information sources, here are a few things to check: 1. **Concurrency Limits**: - This error can occur when you hit your concurrency limit [(1)]() - Make sure you're not registering calls without actually making them, as this can artificially inflate your concurrency count 2. **Rate Limit Handling**: If you're using the SDK, rate limit errors (429) are automatically retried 2 times by default with exponential backoff [(2)]() [(3)]() 3. **Batch Processing**: If you're making multiple calls, consider implementing a limit on concurrent requests. For example, one user mentioned sending only 20 calls at once and waiting for completion before sending more [(4)]() To handle rate limit errors in your code, you can implement error handling. Here's how: For TypeScript/Node.js:
Copy code
typescript
try {
  const agentResponse = await client.agent.create({ llm_websocket_url: 'wss://your-websocket-endpoint', voice_id: '11labs-Adrian' })
} catch (err) {
  if (err instanceof Retell.RateLimitError) {
    console.log("A 429 status code was received; we should back off a bit.");
  }
}
[(2)]() For Python:
Copy code
python
try:
    client.agent.create(
        llm_websocket_url="wss://your-websocket-endpoint",
        voice_id="11labs-Adrian",
    )
except retell.RateLimitError as e:
    print("A 429 status code was received; we should back off a bit.")
[(3)]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
g
i making this from make.com
a
Appreciate the feedback! Feel free to ask me again with additional guidance or context.
g
i making api requets from make.com
c
@ganabi123 realized this later myself as well - you'll need to preface every reply with
@AI Evy
e.g. -
@AI Evy i making api requets from make.com
a
Thanks for the follow-up, @claytonfarr. I'll get back to you soon.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Consume the analysis data]() * [Make & receive phone calls]() * [Telnyx]() * [LLM WebSocket]() -----------------------------
### Answer For Make.com integrations specifically, you can connect through custom API integrations [(1)]() . The base API URL for all endpoints is https://api.retellai.com/v2/ when not using an SDK [(2)]() . As of recent updates, Retell AI has implemented usage limits to prevent platform abuse [(3)]() : - Default concurrency limit is 20 concurrent calls - Maximum call length is 1 hour - Maximum token length is 8192 tokens for Retell LLM For batch calling operations through Make.com: - There is a charge of $0.005 per dial - The system queues calls without hitting concurrency limits If you continue experiencing rate limit issues, consider implementing delays between requests in your Make.com scenario or reducing the batch size of concurrent requests.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.