Fortnite generally goes offline for a few hours in the early morning before any major updates take place. If in doubt, you can monitor the official Fortnite status Twitter account here. You can also find error codes for most Epic Games releases here.