---
title: Client cannot act for users
summary: Code: delegationnotenabled
section: errors
order: 27
---
# Client cannot act for users

Code: `delegation_not_enabled`

- HTTP status: 400 Bad Request
- OAuth `error`: `invalid_scope`
- Shown to the end user: This app asked to act for you but is not set up to.

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 request carries the scope tessera:delegate, but the client may not use token exchange (its token_exchange_policy is disabled or the token-exchange grant is not allowed).

## Fix

Set the client's token_exchange_policy to enabled or allowlist and add the urn:ietf:params:oauth:grant-type:token-exchange grant to its allowed grants, then ask again.

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