You can either use 6.7" or 6.9" screenshots in AppStoreConnect.
6.7" are provided by iPhone 15 Pro Max simulator for instance.
PS: Don't forget to close your threads when you got a solution, and let others know if and how the problem was solved.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: