Can't connect to university wifi with iwd

Whenever I try to connect to the network i get “Operation Aborted” or “Error loading /var/lib/iwd//network.8021x”

[Security]
EAP-Method=PEAP
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-Identity=<id>
EAP-Password=<pswd>
EAP-PEAP-Phase2-Identity=<id>
EAP-PEAP-Phase2-Password=<pswd>

[Settings]
AutoConnect=true  

Probably the usual Eduroam issue.

nmcli connection show
nmcli connection modify NAME 802-1x.phase1-auth-flags 32

where NAME is the connection name you got from the first command.