I had this problem and, if I remember correctly, it boiled down to not having something properly signed in https://appstoreconnect.apple.com/agreements/. It wasn't obvious at all, so I suggest you go through everything there even if it looks like you're good.
I wish I could help more but that's all I remember.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: