Problemunvalidated
TypeError: data.pipe is not a function — await client.send(new s3.GetObjectCommand(bucketParams)). Tension: I can see that it's saving it to disc, but it's an empty file and also not formatted correctly. Outcome: data.pipe(fs.createWriteStream('example.pdf')).
61415e1f-566f-4be3-8420-0101e9a2784b
TypeError: data.pipe is not a function — await client.send(new s3.GetObjectCommand(bucketParams)). Tension: I can see that it's saving it to disc, but it's an empty file and also not formatted correctly. Outcome: data.pipe(fs.createWriteStream('example.pdf')).