wlan0 fail after adding new wifi creds in dietpi-config

HI, am using dietpi v8.3.1 and finding that if I add a new wifi network in dietpi-config (on rpi4) I get a failed wlan0 with the following error:

wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlan0

Have looked at other topics on here and cannot find the same circumstances.

This issue does not occur on dietpi v7 on the same rpi4.

I have been able to replicate the issues on two sd card on two pi’s.

Has anyone had the same issue?
If anyone has an idea and need some additional, please just say what you need and I’ll add it to the thread.

Thank you

p.s. love dietpi and all the hard work that goes into maintaining it is massively appreciated.

you could try to bring up wlan0 interface and check the log afterwards

ifup wlan0
journalctl

The last lines should show something related to wlan0 interface