I made sure that I was logged in Apple ID (in OSX Settings) and in Xcode->Settings->Accounts
When that didn't help, I opened the Developer app and made sure to be logged in there.
It works now.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: