Skip to main content
Log inSign up
Anchor to AppRevokeAccessScopesAppRevokeScopeErrorCode

AppRevokeAccessScopesAppRevokeScopeErrorCode

enum

Possible error codes that can be returned by AppRevokeAccessScopesAppRevokeScopeError.

•

App is not installed on shop.

Anchor to APPLICATION_CANNOT_BE_FOUNDAPPLICATION_CANNOT_BE_FOUND
•

The application cannot be found.

Anchor to CANNOT_REVOKE_IMPLIED_SCOPESCANNOT_REVOKE_IMPLIED_SCOPES
•

Already granted implied scopes cannot be revoked.

Anchor to CANNOT_REVOKE_REQUIRED_SCOPESCANNOT_REVOKE_REQUIRED_SCOPES
•

Required scopes cannot be revoked.

Anchor to CANNOT_REVOKE_UNDECLARED_SCOPESCANNOT_REVOKE_UNDECLARED_SCOPES
•

Cannot revoke optional scopes that haven't been declared.

•

No app found on the access token.

•

The requested list of scopes to revoke includes invalid handles.


Was this section helpful?