---
title: offline_access needs the refresh_token grant
summary: Code: offlineaccessnotallowed
section: errors
order: 60
---
# offline_access needs the refresh_token grant

Code: `offline_access_not_allowed`

- HTTP status: 400 Bad Request
- OAuth `error`: `invalid_scope`
- Shown to the end user: This app asked for access it is not allowed to request.

Request-specific detail for this error is safe to show to the person signing in.

## Cause

The scope offline_access was requested, but the client is not allowed the refresh_token grant.

## Fix

Allow the refresh_token grant for the client, or drop offline_access.

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