Generate Yearly Report -- Excel files download fails

Hello,

I’m trying to complete the Generate Yearly report assignment I am encountering an issue where the monthly report excel file gets downloaded but doesnt have any content. The download history shows it fails but the file still gets saved just without contents. I’m thinkiing this might be because I’m looping thru the months to download to fast?