Skip to content

[ERROR] Internal Error / Consent is required to transfer ownership of a file to another user #2

@oknchm

Description

@oknchm

Hello! Is the script still functional? Tried to transfer ownership of a folder, its sub-folders, and files but got multiples of 2 different error messages.

  1. <HttpError 500 when requesting https://www.googleapis.com/drive/v3/files/[FILE_ID]/permissions?transferOwnership=true&alt=json returned "Internal Error". Details: "[{'message': 'Internal Error', 'domain': 'global', 'reason': 'internalError'}]">

  2. <HttpError 403 when requesting https://www.googleapis.com/drive/v3/files/[FILE_ID]/permissions?transferOwnership=true&alt=json returned "Consent is required to transfer ownership of a file to another user.". Details: "[{'message': 'Consent is required to transfer ownership of a file to another user.', 'domain': 'global', 'reason': 'consentRequiredForOwnershipTransfer'}]">

The command used is python transfer.py --owner "[email protected]" --folder "[FOLDER_ID]"

Hope you can help me, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions