Appstore submission rejected because subscription products could not be found

I have implemented auto-renew subscription in my app and I have also tested it on physical device by implementing storekit. The subscription is bought successfully and is working fine. But when I add the app for review to appstore along with the subscription they reject it because they could not find the subscription in the app.

Appstore submission rejected because subscription products could not be found
 
 
Q