@salesforce/agents
    Preparing search index...

    Type Alias StorageUploadFailureData

    Error thrown when one or more storage PUTs fail. data reports what landed and what didn't.

    type StorageUploadFailureData = {
        failedFiles: {
            errName: string;
            fileName: string;
            statusCode: number | null;
            storageErrorCode: string | null;
        }[];
        uploadedFilePaths: string[];
    }
    Index

    Properties

    failedFiles: {
        errName: string;
        fileName: string;
        statusCode: number | null;
        storageErrorCode: string | null;
    }[]

    storageErrorCode is the S3-style <Code> from the storage error body (e.g. SignatureDoesNotMatch), if any.

    uploadedFilePaths: string[]

    Storage filePaths that were PUT successfully but not registered with the service.