You can’t connect Foobot to WiFi through a hidden network (SSID). Regarding Foobot's setup process, you need a visible network to link Foobot to WiFi.
For setup purpose unmask your network, proceed to setup. Once done, you can hide your network, Foobot will stay connected to it.
Read more about supported connection.