duplicati/duplicati · error · UserInformationException

ActionOptionUnsupported

ActionOptionUnsupported

Error message

The specified action '{action}' is not supported

What it means

Error "The specified action '{action}' is not supported" thrown in duplicati/duplicati.

Source

Thrown at Duplicati/Library/Backend/Duplicati/ListBackupsModule.cs:58

    /// </summary>
    public ListBackupsModule()
    {
    }

    /// <inheritdoc />
    public async Task<IDictionary<string, string>> Execute(IDictionary<string, string?> options, CancellationToken cancellationToken)
    {
        var opts = new Dictionary<string, string?>(options);

        var action = opts.GetValueOrDefault("action");
        if (string.IsNullOrEmpty(action))
            throw new UserInformationException("The 'action' option must be specified", "ActionOptionMissing");

        if (!Enum.TryParse<Operation>(action, out var operation))
            throw new UserInformationException($"The specified action '{action}' is not valid", "ActionOptionInvalid");

        if (operation != Operation.ListBackups)
            throw new UserInformationException($"The specified action '{action}' is not supported", "ActionOptionUnsupported");

        var url = opts.GetValueOrDefault("url");
        if (string.IsNullOrEmpty(url))
            throw new UserInformationException("The 'url' option must be specified", "UrlOptionMissing");
        var uri = new Library.Utility.RelaxedUri(url);
        foreach (var key in uri.QueryParameters.AllKeys)
            if (key != null)
                opts[key] = uri.QueryParameters[key];

        // We do not need a backup id to list backups, but the backend requires one
        opts[DuplicatiBackend.BACKUP_ID_OPTION] = "--unused--";

        using var backend = new DuplicatiBackend(url, opts);
        return new Dictionary<string, string>()
        {
            { "folders", JsonSerializer.Serialize( await backend.ListBackupFolders(cancellationToken).ToArrayAsync(cancellationToken) ) }
        };
    }

View on GitHub (pinned to 3f348be3e3)

Solutions

  1. Use a supported action value; check the module documentation for supported operations.

When it happens

Trigger: Thrown at Duplicati/Library/Backend/Duplicati/ListBackupsModule.cs:58 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of duplicati/duplicati@3f348be3e3 (2026-08-13). Data as JSON: /api/errors/aab947b8df664daf. Report an issue: GitHub.