> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Unauthorized

> Invalid API credentials were used in the request.

## 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.