Nichabul wrote:
https://discussions.apple.com/content/attachment/e1b01472-062b-4dfd-9fef-66e664bc8338
-2004F error
In Internet Recovery, these low negative thousands error messages indicate that your Wi-Fi Network is inadequate in some regard and cannot be used in its current condition. Make some changes:
Some known problems include—
Hidden Network name
Using of a proxy server to get Internet access
A required use of a login page to get Internet access
Use of a login server or certificate to get Internet access
Use of PPPoE in the Mac to get Internet access (typically only applies to DSL)
Use of Fixed IP address rather than DHCP
Variance of the time by more than five minutes
Failure of Router to provide workable DNS server addresses, or providing 0.0.0.0 [may produce -2002f]
You may in some cases be able to move your Mac close to the Router or connect to the Router directly using Ethernet cable.
you can try—
Power Cycle your router
Disable any VPN or Proxy server
Uninstall any third party Cleaners,Optimizers,Anti-virus
Do a safe boot How to use safe mode on your Mac - Apple Support
Make certain the Date & Time and Time Zone are correct within 5 minutes.