---
title: Resource not allowed
summary: Code: resourcenotallowed
section: errors
order: 76
---
# Resource not allowed

Code: `resource_not_allowed`

- HTTP status: 400 Bad Request
- OAuth `error`: `invalid_target`
- Shown to the end user: Resource not allowed

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 resource indicator is missing, reserved, not in the client's allowed resources, or does not match the one on the grant.

## Fix

Send a resource from the client's allowed list, and the same one the grant was issued for.

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