Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More explicit error message for errro 429 QUOTA_EXCEEDED/TOO_MANY_REQUESTS #372

Open
gregory1g opened this issue Jan 9, 2025 · 0 comments
Labels
correction correction in documentation

Comments

@gregory1g
Copy link

Problem description
https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#61-standardized-use-of-camara-error-responses introduces two options for error 429 - QUOTA_EXCEEDED and TOO_MANY_REQUESTS:

429 QUOTA_EXCEEDED Either out of resource quota or reaching rate limiting.
429 TOO_MANY_REQUESTS Either out of resource quota or reaching rate limiting.

The problem is: for different error code identical error message is used. As a result, the human readable error message do not explicitly addresses the issue while the server "knows" if which of two mentioned reasons caused the error.

Expected behavior
Explicit error messages, for example:

429 QUOTA_EXCEEDED Out of resource quota.
429 TOO_MANY_REQUESTS Rate limits are reached.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
correction correction in documentation
Projects
None yet
Development

No branches or pull requests

1 participant