Can't connect Trafri Gateway to Homey 2023 - resolved by not using the gateway

Following instructions to connect a Tradfri Gateway to my new Homey. After a restore of a backup of my old Homey 2019.

The Gateway is found, but the security code is not accepted. What can it be?