For those who don't want to waste their time, just follow these steps. https://stackoverflow.com/questions/73313352/app-store-screenshots-screenshot-uploads-in-progress-error-appscreenshotse
after 7 days without getting any support from apple i solved it with the steps given in the stackoverflow link
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: