Engrampa: error when adding files to archive when compressing folder to zip

If I try to compress a folder to zip I get the following error message: error when adding files to archive. Running engrampa from the terminal doesn't show anything in the terminal.
I have already compressed the file fine using the zip command but I want to know why it errors out with that folder.