Chosen Solution

There’s a message on my camera saying “cannot recognize lens attach lens properly” it’s perfectly attached so I’m not sure what’s wrong.

Your lens is probably damaged. Check the connections on the back of the lens . make sure they are not corroded You may be able to clean the contacts with an eraser. Good luck.