diff --git a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts index 01200aef01..8488bd4fb5 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts @@ -1996,7 +1996,11 @@ export class GoogleDrive implements INodeType { } } - const response = await googleApiRequest.call(this, 'POST', `/drive/v3/files/${fileId}/copy`, body); + const qs = { + supportsAllDrives: true + } + + const response = await googleApiRequest.call(this, 'POST', `/drive/v3/files/${fileId}/copy`, body, qs); returnData.push(response as IDataObject); @@ -2243,6 +2247,7 @@ export class GoogleDrive implements INodeType { const qs = { fields: queryFields, + supportsAllDrives: true, }; const response = await googleApiRequest.call(this, 'POST', '/drive/v3/files', body, qs);