Skip to content

"Error: File not found xxxx" with shared drive #8

@amergey

Description

@amergey

It seems this github action fails when uploadTo point to a shared drive

Maybe by using supportsAllDrives: true should solve this

return drive.files.create({
        requestBody: {
            mimeType: options.mimeType,
            name: options.name || options.path,
            parents: options.parents,
            appProperties: {
                source: options.path,
                "glob-to-drive": true
            }
        },
        media: {
            mimeType: options.mimeType,
            body: fs.createReadStream(options.path)
        },
        supportsAllDrives: true
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions