ESP32 - basic tutorial not working

Hello!

I have a ESP32 DevKitC.

I registrered and virtualized it. I have setup AWS IoT as shown in this tutorial. I compile the code and uplink it. It gives me this error:

connecting to wifi…

[Thread 1 exited with exception IOError @[0048:0013:0000:0063:0000:0000:0000:0000]](javascript:window.except(’@[0048:0013:0000:0063:0000:0000:0000:0000]’,'Thread 1 exited with exception IOError '))

ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

configsip: 0, SPIWP:0xee

clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

mode:DIO, clock div:2

load:0x3fff0018,len:4

load:0x3fff001c,len:3648

ho 0 tail 12 room 4

load:0x40078000,len:9928

ho 0 tail 12 room 4

load:0x40080400,len:5788

entry 0x400806c0

E (32) boot: OTA: -1/-1 -1/-1 -1/-4

E (33) boot: Invalid ota, returning default vm 0

E (33) boot: Starting vm 0


[Thread 1 exited with exception IOError at line 35 of main](javascript:app.go_to_exception(‘c:\users\b\cpp’,‘c:\users\b\cpp\main.py’,35))

[raised at line 97 of wireless.wifi.link](javascript:app.go_to_exception(‘c:\users\b\cpp’,‘c:\users\b\zerynth2\dist\r2.6.3\stdlib\wireless\wifi.py’,97))

The line in question is wifi.link(“SSID”,wifi.WIFI_WPA2,“Password”). (I have SSID and WIFI password there respectively, and all other devices in the household can connect to this wifi).

What can be the issue?

This is the tutorial in question: https://www.youtube.com/watch?v=IZzZF3DGWkY