---
title: Grant type not allowed for this client
summary: Code: clientgrantnotallowed
section: errors
order: 18
---
# Grant type not allowed for this client

Code: `client_grant_not_allowed`

- HTTP status: 400 Bad Request
- OAuth `error`: `unauthorized_client`
- Shown to the end user: This app is not allowed to use this kind of sign-in.

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 is not allowed to use the grant type (authorization_code, refresh_token, client_credentials, device or jwt-bearer) the request used.

## Fix

Add the grant type to the client's allowed grants, or use a grant the client already has.

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