- Newest
- Most votes
- Most comments
Based on your description, you're likely encountering a throttling issue related to API destinations rather than the EventBridge invocation rate limit.
When using API destinations, there are several potential throttling points to consider:
-
API Destination Connection Limits: EventBridge maintains connections to your API endpoints, and there are limits on concurrent connections. When your API destination (Lambda) takes longer to respond, EventBridge must maintain those connections longer, potentially hitting a connection limit.
-
Target-specific throttling: When your target is slow to respond (high target_duration_ms), it can cause backpressure in the EventBridge service, leading to throttling even if you're below the invocation rate limit.
-
Lambda concurrency limits: If your API destination uses Lambda, you might be hitting Lambda's concurrency limits, especially if the function takes longer to execute.
Your observation that the issue disappears when you return quickly from your API endpoint strongly suggests this is related to connection duration rather than pure invocation rate. The error message "Request has been throttled" combined with INVOCATION_ATTEMPT_THROTTLE status indicates EventBridge is throttling the requests, but not necessarily due to the invocation rate limit.
To address this issue, you could:
- Optimize your Lambda function to respond more quickly
- Increase Lambda concurrency limits if applicable
- Consider implementing a queue-based architecture for high-volume processing
- Request quota increases for EventBridge if needed
The fact that you see 0 throttled rules in the dashboard but still get throttling errors suggests the throttling is happening at the target invocation level rather than at the rule evaluation level.
Sources
Troubleshooting Amazon EventBridge Scheduler - EventBridge Scheduler
Quotas for Amazon EventBridge Scheduler - EventBridge Scheduler
answered a year ago
Thanks, could you point toward a documentation referring to API Destination Connection Limits? I was unable to find anything regarding that
answered a year ago
Hey,
Hope you're keeping well.
What you’re seeing isn’t a hidden “rule” so much as a downstream throttling behavior from the EventBridge API Destinations service. API Destinations use a connection resource with a maximum concurrent request capacity, and if your target takes too long to respond, those connections stay occupied longer, reducing available slots and causing INVOCATION_ATTEMPT_THROTTLE errors. This is separate from the 300 invocations/sec rule limit and isn’t exposed in the rule metrics.
Thanks and regards,
Taz
answered a year ago
Given that your destination is a Lambda function, I'd suggest you set EventBridge to deliver the events to an SQS queue and configure an event source mapping for the Lambda function to have it get invoked in response to events arriving in the queue. https://docs.aws.amazon.com/lambda/latest/dg/services-sqs-configure.html
SQS is able to receive messages at a very high rate. This integration pattern also allows the degree of concurrency to be limited between SQS and the Lambda function. The function can also receive multiple messages as a batch, rather than having to be invoked separately for every event.
Any messages that fail to be processed can also be delivered automatically by SQS to a separate dead-letter queue (DLQ). This allows you to monitor processing failures with events or CloudWatch metric based alarms, and to automate their handling, if you deem that necessary.
Hey,
Hope you're keeping well.
It’s not a hidden limit, but API Destinations enforce connection-level throttling based on the Maximum connections setting in the Connection resource. This defaults to 10 concurrent connections unless you explicitly increase it. If your Lambda behind the API destination takes longer to respond, those connections remain in use longer, reducing available slots and causing INVOCATION_ATTEMPT_THROTTLE errors even if you’re below the 300 invocations/sec rule limit. Check the EventBridge > Connections > your-connection-name settings in the console and raise the maximum connections value to match your expected concurrency, or reduce target latency so connections free up faster.
Thanks and regards,
Taz
answered a year ago
Relevant content
- AWS OFFICIALUpdated 9 months ago
