Unable to update my iMac as it won't accept Apple ID password
I want to update my iMAC to new OS 15.1 but my apple id password will not be accepted. It asked for new password. I put in new password. It now says that password is incorrect. How do I activate the update.
[Re-Titled by Moderator]
iMac 24″, macOS 15.0