err:unkey:data:ratelimit_override_not_found
Example
What Happened?
This error occurs when you’re trying to perform an operation on a rate limit override that doesn’t exist in the Unkey system. Rate limit overrides are used to create custom rate limits for specific identifiers within a namespace. Common scenarios that trigger this error:- Using an incorrect override ID
- Referencing an override that has been deleted
- Trying to get or modify an override for an identifier that doesn’t have one
- Using the wrong namespace when looking up an override
How To Fix
Verify that you’re using the correct namespace and identifier, and that the override still exists:- Check the namespace ID and identifier in your request for typos
- List all overrides in the namespace to confirm if the one you’re looking for exists
- If the override has been deleted or never existed, you may need to create it
ratelimit.setOverride
endpoint:
Common Mistakes
- Wrong identifier: Using an incorrect user identifier when looking up overrides
- Deleted overrides: Attempting to reference overrides that have been removed
- Namespace mismatch: Looking in the wrong namespace for an override
- Assuming defaults are overrides: Trying to get an override for an identifier that’s using default limits
Related Errors
- err:unkey:data:ratelimit_namespace_not_found - When the requested rate limit namespace doesn’t exist
- err:unkey:authorization:insufficient_permissions - When you don’t have permission to perform operations on rate limit overrides
- err:unkey:data:workspace_not_found - When the requested workspace doesn’t exist