diff --git a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts index 3cfb6b0e41236..5dfb15946202e 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts @@ -2297,7 +2297,7 @@ export class GoogleDrive implements INodeType { ); } - const mimeType = file.mimeType ?? response.headers['content-type'] ?? undefined; + const mimeType = response.headers['content-type'] ?? file.mimeType ?? undefined; const fileName = downloadOptions.fileName ?? file.name ?? undefined; const newItem: INodeExecutionData = {