Auth0 Rate Limit Errors Do Not Appear In The Tenant Logs

Overview

Users testing the production environment encounter rate limits, but the tenant logs do not display any rate limit events when filtering by type:api_limit or type:limit_delegation. This occurs because Auth0 only logs global rate limits under the api_limit type and throttles these logs to one per minute. To resolve this, search the tenant logs for specific text descriptions or check for brute-force and bot detection log types.

Applies To

  • Auth0
  • Rate Limits
  • Logs

Cause

Auth0 triggers the api_limit log type only when requests exceed a global rate limit. Auth0 does not trigger this log for user-level, IP-level, or endpoint-specific rate limits. Additionally, Auth0 throttles global rate limit logs. If users hit a global limit, Auth0 generates only one api_limit log per minute for each 429 request to prevent flooding the tenant logs.

Solution

How does Auth0 identify Universal Login prompt limits?

The New Universal Login experience applies strict, non-customizable limits per transaction and per IP to ensure platform stability. Review the Universal Login limits to determine if prompt limits cause the issue.

  • Page loads: Up to 10 per minute.
  • Login submissions: Up to 5 per minute.

 

invalid_request: You've exceeded the rate limit for /u/login/identifier

 

This error occurs in the User Interface (UI) when users aggressively reload the login prompt or repeatedly submit credentials. This action does not generate an api_limit log.

 

IP-level and user-level limits require specific log searches.

Users testing from a single corporate Network Address Translation (NAT) or Virtual Private Network (VPN) might hit IP rate limits, such as the same user login rate limit of 20 attempts per minute from one IP. Search the tenant logs for specific text descriptions instead of searching by the type:api_limit log type.

  • "You passed the limit of allowed calls to <PATH> from ip: <IP>"
  • "You have exceeded the rate limit on <PATH>"

 

What indicates brute-force or bot detection rate limiting?

Intentionally failing logins, such as testing incorrect passwords or expired magic links, trigger Brute-Force Protection or Bot Detection. Identify these events by checking the logs and enabling risk assessment features.

  1. Check for the log type gd_otp_rate_limit_exceed (Too Many Failures).
  2. Enable the Risk Assessment option in the Bot Detection feature to generate Pre-login risk assessment logs (log type: pla). An extensive number of these logs from a single IP leads to rate-limited requests.

 

 

Recommended content

No recommended content found...