Mac sudden problem iCloud apps not connecting
Today I started having a problem using my Mac and having apps connect to my iCloud account. I randomly get this error message:
This Mac can’t connect to iCloud because of a problem with “xxxxxxxx@xxxxxxx” (my apple ID). It then says "open iCloud preferences to fix this problem".
However, when i click on the iCloud preferences button it will not accept my apple ID password...basically saying it's wrong (but it's not). It will randomly work off and on. My other apple devices don't seem to be having a problem and I can log into my iCloud account through safari w/o any problems.
How do I get this annoying error cleaned up and fixed? It is also hanging programs up and not letting me to "shut down" my computer.
Frustrating....help and thank you!!!
MacBook Pro Retina