I've encountered the same issue.
For a workaround, I was able to submit the build to TestFlight using the AppStore Connect app on my iPhone instead of using the website.
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags: