Family sharing not working

Family sharing is not working for IAP although family sharing is enabled on Appstore connect.