From 27c5b218abb24fe30bd143ffcf5c2e2b6144d9e0 Mon Sep 17 00:00:00 2001 From: Jonathan Bennetts Date: Sat, 15 Jan 2022 19:12:32 +0000 Subject: [PATCH] :bug: Fix download for some files via Box node (#2669) --- packages/nodes-base/nodes/Box/Box.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Box/Box.node.ts b/packages/nodes-base/nodes/Box/Box.node.ts index 59152804f1..b8ffd7b78a 100644 --- a/packages/nodes-base/nodes/Box/Box.node.ts +++ b/packages/nodes-base/nodes/Box/Box.node.ts @@ -130,7 +130,7 @@ export class Box implements INodeType { let mimeType: string | undefined; - responseData = await boxApiRequest.call(this, 'GET', `/files/${fileId}/content`, {}, {}, undefined, { resolveWithFullResponse: true }); + responseData = await boxApiRequest.call(this, 'GET', `/files/${fileId}/content`, {}, {}, undefined, { encoding: null, resolveWithFullResponse: true }); const newItem: INodeExecutionData = { json: items[i].json,