1) Go to App Store Connect > App Information

2) Scroll down to the License Agreement section and make sure it's filled.