Didn't flashed yet, but if it has eg dipper fingerprint you can also try to use the same fingerprint with 'hide props' as it often fixes it too instead of changing (also it's advised to wipe data of playstore before rebooting)CTS profile failed. Even if I didn't install magisk.
When magisk installed, I already turn on the magisk hide, but still failed
I think changing device fingerprint will fix this. I'll do that later
Edit : I try to change the device fingerprint, but still didn't work
You probably updated by OTA, which you shouldn't. Backup, then reflash cleanly.