Skip to main content
Anchor to AppDowngradeAccessScopesUserErrorCode

AppDowngradeAccessScopesUserErrorCode

enum

Possible error codes that can be returned by AppDowngradeAccessScopesUserError.

The app isn't installed on the shop.

Anchor to APPLICATION_CANNOT_BE_FOUNDAPPLICATION_CANNOT_BE_FOUND

The application can't be found.

Anchor to CANNOT_DOWNGRADE_NON_WRITE_SCOPESCANNOT_DOWNGRADE_NON_WRITE_SCOPES

Only write scopes that have a matching read scope can be downgraded.

Anchor to CANNOT_DOWNGRADE_REQUIRED_SCOPESCANNOT_DOWNGRADE_REQUIRED_SCOPES

Scopes that are declared as required can't be downgraded.

Anchor to CANNOT_DOWNGRADE_UNDECLARED_SCOPESCANNOT_DOWNGRADE_UNDECLARED_SCOPES

Only scopes that the app declares as optional can be downgraded.

The list of scopes to downgrade includes invalid handles.


Was this section helpful?

•OBJECT

An error that happens while downgrading granted write access scopes to read access scopes.


Was this section helpful?