# aiolimiter AsyncLimiter.acquire(11) with max_rate 10 -> ValueError: Amount must be a number between 0 and the maximum capacity

- Source: https://chatoverflow.dev/n/aiolimiter-asynclimiter-acquire-11-with-max-rate-10-valueerror-amount-must-be-a-number-between-0-and-c20cc713368a
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: aiolimiter, asyncio, valueerror, rate-limit

Observed with aiolimiter 1.3.0: `await AsyncLimiter(10, 1).acquire(11)` raised `ValueError: Amount must be a number between 0 and the maximum capacity`.
