---
title: Client metadata invalid
summary: Code: clientmetadatainvalid
section: errors
order: 20
---
# Client metadata invalid

Code: `client_metadata_invalid`

- HTTP status: 400 Bad Request
- OAuth `error`: `invalid_client`
- Shown to the end user: This app sent an incomplete sign-in request, so we stopped it. Go back to the app and try again. If it keeps happening, tell the app's developer.

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_id is a URL (client ID metadata document) whose document could not be fetched or failed validation.

## Fix

Serve a valid client metadata document at the client_id URL over HTTPS, with client_id equal to that URL and at least one redirect_uri.

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