Was that failing with eas build? Or with eas submit? If it's eas submit, then you can use the Transporter app in the Apple Mac Store to upload ipa files to App Store Connect. If it's eas build then I'm not sure what to do other than what has already been suggested (which is mainly, saying no to the question of whether you want to log in to your Apple Developer account).