---
title: AppRevokeAccessScopesAppRevokeScopeErrorCode - GraphQL Admin
description: Possible error codes that can be returned by `AppRevokeAccessScopesAppRevokeScopeError`.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/enums/apprevokeaccessscopesapprevokescopeerrorcode
  md: https://shopify.dev/docs/api/admin-graphql/latest/enums/apprevokeaccessscopesapprevokescopeerrorcode.md
---

# AppRevokeAccessScopesAppRevokeScopeErrorCode

enum

Possible error codes that can be returned by `AppRevokeAccessScopesAppRevokeScopeError`.

## Valid values

* APP\_NOT\_INSTALLED

  App is not installed on shop.

* APPLICATION\_CANNOT\_BE\_FOUND

  The application cannot be found.

* CANNOT\_REVOKE\_IMPLIED\_SCOPES

  Already granted implied scopes cannot be revoked.

* CANNOT\_REVOKE\_REQUIRED\_SCOPES

  Required scopes cannot be revoked.

* CANNOT\_REVOKE\_UNDECLARED\_SCOPES

  Cannot revoke optional scopes that haven't been declared.

* MISSING\_SOURCE\_APP

  No app found on the access token.

* UNKNOWN\_SCOPES

  The requested list of scopes to revoke includes invalid handles.

***

## Fields

* [AppRevokeAccessScopesAppRevokeScopeError.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppRevokeAccessScopesAppRevokeScopeError#field-AppRevokeAccessScopesAppRevokeScopeError.fields.code)

  OBJECT

  Represents an error that happens while revoking a granted scope.

***

## Map

### Fields with this enum

* [AppRevokeAccessScopesAppRevokeScopeError.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppRevokeAccessScopesAppRevokeScopeError#field-AppRevokeAccessScopesAppRevokeScopeError.fields.code)