API Encryption Key breaking Sonoff

Hi All

I was previously using the password method in the API portion of my config but have now updated all but 1 of my Sonoff Devices.

Im having issues with this particular sonoff device that wont work with the API encryption key.

As soon as I specify the api encryption key in the config then reboot the device after flashing it with the new config. The Sonoff can no longer find my SSID.

I have to connect it physically to my PC to see the logs. You can see it scanning for Wifi but it doesnt find anything.

If I remove the API config from the file and re flash it again, it works and finds my Wi-Fi and connects.

I have multiple Sonoff devices and they have all ported fine bar this one

Any ideas?

Yaml and logs.