I got the error message below once; I retried the upload and it went away.
If anyone get this you can try doing the same thing to see if it works.
Error message
'' is not a valid id for the relationship 'build' (ID: 6a679cdd-6ac8-4e16-a164-f4bec1d422fd)
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: