This error occurs when you make a request to the Unkey API without including your API key in the Authorization header. The Unkey API requires authentication for most endpoints to verify your identity and permissions.Here’s an example of a request that would trigger this error:
Copy
Ask AI
# Request to Unkey API without an API keycurl -X POST https://api.unkey.com/v1/keys.listKeys \ -H "Content-Type: application/json"
Authentication is required to:
Verify your identity
Ensure you have permission to perform the requested operation