---
title: Client authentication failed
summary: Code: clientauthenticationfailed
section: errors
order: 17
---
# Client authentication failed

Code: `client_authentication_failed`

- HTTP status: 401 Unauthorized
- OAuth `error`: `invalid_client`
- Shown to the end user: Client authentication failed

Request-specific detail for this error goes to the app or developer (API response, developer view, logs). The public page shows only the short message and the code.

## Cause

The client credentials are missing, wrong, sent twice, or use a method the client is not registered for.

## Fix

Authenticate with the method registered for the client (client_secret_basic, client_secret_post or private_key_jwt) and only one of them. Rotate the secret if it may be stale.

[All error codes](/errors/index.md)
