Try the following steps to fix the error Profile Query Failed:
- Check the Epic Servers: https://status.epicgames.com/
If the servers are offline you will need to wait for them to be online - Try clearing the Launcher Cache: How do I clear the Launcher cache on PC?
- Try updating Windows: How do I update Windows to solve game issues?