How to differentiate rate limit errors (global vs others)

Problem statement

Differentiate scenarios in which the user or the application have been rate limited or blocked by too many failures.

Solution

Based on the response, you can filter the error descriptions and messages to understand which type of limit the user is incurring. Check the list of responses for rate limits: