Rest API - Rate Limiting and Throttling
Identify the error in this per-user rate limit check pseudocode:
requests = {"alice": 3}
limit = 5
user = "bob"
if requests[user] > limit:
block()
else:
allow()