That usually just means you need to enter an Apple ID - No prompt came up asking for one? – Do you have access to another Mac? That issue should be avoided if you create a bootable USB or something from an App Store download, since in that case, it'll verify with the Apple ID used for the download
If you don't have access to another Mac, try booting in Safe Mode and seeing if you can download it from the App Store then.