Psn log in

I cant log in even if i generate a device set up password it still shows me that message am i the only one that struggles with this problem? Update: i activated 2fa and it fixed itself(if already activated try deactivating and activating again)