@qtsurfer/sdk
    Preparing search index...

    Type Alias AuthTokenError

    Error envelope returned by POST /auth/token when the API key is rejected (401) or carries no scopes where scopes are required (403).

    type AuthTokenError = {
        code:
            | "invalid_apikey"
            | "apikey_revoked"
            | "apikey_expired"
            | "apikey_without_scopes";
        message: string;
    }
    Index
    code:
        | "invalid_apikey"
        | "apikey_revoked"
        | "apikey_expired"
        | "apikey_without_scopes"

    Machine-readable error reason.

    message: string

    Human-readable description of the failure.