This error occurs when you’re trying to perform an operation on a rate limit namespace that doesn’t exist in the Unkey system. Rate limit namespaces are used to organize and manage rate limits for different resources or operations.Common scenarios that trigger this error:
Using an incorrect namespace ID or name
Referencing a namespace that has been deleted
Trying to modify a namespace that doesn’t exist in the current workspace
Typos in namespace names when using name-based lookups
Here’s an example of a request that would trigger this error:
Copy
Ask AI
# Attempting to get overrides for a non-existent namespacecurl -X POST https://api.unkey.com/v2/ratelimit.listOverrides \ -H "Content-Type: application/json" \ -H "Authorization: Bearer unkey_YOUR_API_KEY" \ -d '{ "namespaceName": "nonexistent_namespace" }'