Ended up fixing it by logging into my id within safari straight into the Apple website as if I need to manage my ID. I can't remember if this is what fixed it or if we turned of the two factor identification.
I just recently got a second hand Mac Book pro. And with the new updates you have to sign into your apple ID with a passcode. However when you receive the code on your phone, you have no were to type it into a window. Anyone have any idea how to do it? I can't be the only one with this problem!!