I am facing an issue with unzipping a ZIP file in an n8n workflow. I use an IMAP Trigger node to fetch my emails and successfully retrieve a ZIP file in binary format. However, when I use a node to unzip this file, I cannot get the unzipped file as an output of this node.
Now that is interesting indeed. I wonder if n8n struggles specifically with your ZIP file. Are you also seeing this problem when reading the very same ZIP file through any node other than the IMAP node and then trying to decompress it?
Could you perhaps create a test ZIP file using which this problem can be reproduced (without anything confidential in it of course) and share it?
when I download the ZIP file using an HTTP request, I don’t have any issues. However, I can send the file, but as soon as I remove the information, it can successfully perform the decompression. Therefore, it would be better for me to send it to you privately.
Thanks @momo2001tn, I got the example via DM and was able to reproduce this problem on my end.
I suspect it has to do with the uppercase file ending .ZIP instead of .zip. Can you try converting the file extension to lowercase and confirm if this works for you?