This error appears either when the QR code is not properly scanned or if the eSIM is already been installed on a device.
Sometimes due to poor connection, QR codes are only partially scanned. Try rescanning after ensuring you have good network strength.
If your device screen locks during the install process, it is likely that the eSIM will continue to install in the background.