This error occurs because the signal received by the TZ40 device from the WiFi router is weak. In order to fix the problem, you will need to get closer to the router. Alternatively, you can upload the videos to YouTube from your computer. Connect the camera to the PC using the USB cable, open the camera's drive from My Computer/Computer and transfer the videos using Copy/Paste feature. After that, access the YouTube Upload page, sign in and upload the files following the on-screen instructions.