-
Notifications
You must be signed in to change notification settings - Fork 506
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
Ratelimit: unclear error #2460
Comments
Ihey @AmitMY, I just tried to reproduce it but it worked |
I found why this happens - if the |
@AmitMY ah I found out why yes, it's related to the namespace We're not passing the error through to the client though, which makes this hard to debug {
"error": {
"code": "NOT_FOUND",
"docs":" https://unkey.dev/docs/api-reference/errors/code/NOT_FOUND",
"message":"namespace namespacetahtdoesnotexist not found",
"requestId":"req_3jv6ECNqFJwAad9P7NsTnktuj1iy"
}
} |
but you are returning a 404. I think that should be the indication for wrong namespace |
yeah, the status is fine, but we should tell you exactly what's happening, not just show a 404 |
/assign |
Assigned to @ahmed2tech28! Please open a draft PR linking this issue within 48h |
/assign |
This issue is already assigned to another person. Please find more issues here. |
@ahmed2tech28, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically. |
1 similar comment
@ahmed2tech28, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically. |
@ahmed2tech28, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically. |
/assign |
This issue is already assigned to another person. Please find more issues here. |
Preliminary Checks
I have reviewed the documentation: https://unkey.com/docs
I have searched for existing issues: https://github.com/unkeyed/unkey/issues
This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
I'm trying to start using ratelimit, but getting
In the console I see:
Steps to Reproduce
Following the tutorial
Expected behavior
The error should be better.
Other information
No response
Screenshots
No response
Version info
The text was updated successfully, but these errors were encountered: