This is the generic error code for access denied. In case of a wrong scope, an InvalidScopeError will be returned.

interface AccessDeniedError {
    code: "access_denied";
    message: string;
}

Hierarchy (View Summary)

Properties

Properties

code: "access_denied"

An error identifier.

message: string

A plain language description of the cause of an error.