--- title: "Unauthorized" url: "https://docs.adyen.com/errors/unauthorized" source_url: "https://docs.adyen.com/errors/unauthorized.md" canonical: "https://docs.adyen.com/errors/unauthorized" last_modified: "2026-05-27T12:56:27+02:00" language: "en" --- # Unauthorized [View source](/errors/unauthorized.md) ## Cause Adyen APIs return this error when: * Invalid API credentials were used in the request. * The API credentials lack permissions. ## Solution To resolve this error: * Check and update the API key or the basic auth username and password. * If you receive this error for a Management API endpoint, contact your admin user so they can check the API permissions. For other APIs, contact our [Support Team](https://ca-test.adyen.com/ca/ca/contactUs/support.shtml?form=other) to ask for additional permissions. ## Error codes Find the specific cause and solution for each error code. ### 00\_401 - Unauthorized **Cause**: The API credential used in the request is invalid or does not have the right permissions.\ **Solution**: Check and update the API credentials used in the request, or ask for additional permissions.