The Mac App Store shows I have one update to install. When I open it, I am prompted to log in. When I do, it appears to accept my password, and then I get an error dialog that says:
"An unexpected error occurred while signing in.
The data couldn’t be read because it isn’t in the correct format."
Closing and reopening the Mac App Store didn’t change anything.
I get a different error dialog on my MacPro running Mojave–but the same result. It will not accept my password and let me download an update. I’ve seen this happen before and it can take a few days to start working again.
When I encounter things like this on older systems, my default assumption these days is an expired security certificate. I realize that may not always be a useful answer, especially if the mechanism for updating certificates is not always obvious or even available to end users.
It looks like this was a temporary server-side glitch.
I accessed the App Store yesterday on my 2011 Mac Book Air running macOS 10.12 (Sierra), and it seemed to work fine, both for downloading an update to an already-installed app and for getting a new free app. I was also able to access my purchase history (which required re-logging-in, since it had been a while).
I recently experienced this again, but I now have a pro tip to offer:
After trying to log in countless times and becoming frustrated, I gave up.
One day, sometime later, Mojave sent me a notification asking me if I would like to update. It has always been my preference to dismiss such notifications and go to the App Store to update manually (so that I can see what the update is.
But now, if the App Store icon is badged with an available update, and the system isn’t asking me if I’d like to update, I’ll know not to waste my time trying.
Sure enough, when the notification popped up, and I told it to go ahead and update, it finally installed without problem.
No. It’s a notification extremely similar to the one pictured in this thread discussing Sequoia. I can’t find a screenshot of the Mojave counterpart. The only difference is in the layout of the buttons.