That generally means your Wi-Fi is substandard in some fashion, including hidden Network-name and these issues:
To download and reinstall macOS using macOS Recovery, you need a broadband Internet connection that meets the following requirements. If you don't know what to do, try a different Internet connection, such as at your work or another home.
- The connection is configured to use DHCP over Wi-Fi or Ethernet, not PPPoE (if there is no router handling the PPPoE connection).
- The connection is not using 802.1X or other certificate-based authentication.
- The connection is not using a proxy server configured in Network preferences.
- If the connection is using the WEP or WPA-Enterprise security protocols, you can use macOS Recovery. If the connection is using WPA/WPA2, you can use macOS Recovery or macOS Internet Recovery.
- If the connection is using a captive network, such as a network that displays a login or agreement page before you can access the Internet, you can use macOS Recovery but not macOS Internet Recovery.
When you download macOS using macOS Recovery, your computer's serial number is sent to Apple to help authenticate your request.
from:
How to reinstall macOS - Apple Support
.