"We are unable to create an authentication session."

I was trying to upload a build from Xcode to App Store connect but this popped up after I clicked "upload". It was working like an hour ago.... tried googling it but didn't find anything useful.