ITMS-90078: Missing potentially required entitlement

I am trying to create an app with push notification implementation using Flutter. However, when I upload the build file to TestFlight, I receive an email notification with the error ITMS-90078: Missing potentially required entitlement. I have checked Push Notifications in Capabilities under Identifiers in Certificates, Identifiers & Profiles The Capabilities in Xcode are also set as shown below I can't figure out what the cause is. I would appreciate if you could help me.

ITMS-90078: Missing potentially required entitlement
 
 
Q