Thanks for using Apple Support Communities.
When connecting to a Wi-Fi network with Apple TV, you may occasionally encounter this issue.
For troubleshooting on this, take a look at this article:
Apple TV (2nd and 3rd generation): Troubleshooting Wi-Fi networks and connections
For more information on this, take a look at this article:
Apple TV: Troubleshooting wireless connections
Hope this helps,