Xcode Cloud Build Failed with Preparing build for App Store Connect failed

My project build failed in Xcode Cloud(works well in my local Mac), and the error shows: Preparing build for App Store Connect failed The error message is not clear enough to help us find the solution to fix it. Can anyone help with it?

I'm seeing the same error, 3x

I found a legal doc that needed agreeing in the Business -> Agreement section

Xcode Cloud Build Failed with Preparing build for App Store Connect failed
 
 
Q