On iOS simulator iPhone 13, when I call fetch offers I get the error
```
flutter: PlatformException(23, None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used). This could be due to a timeout, or a problem in your configuration. More information: https://rev.cat/why-are-offerings-empty, {code: 23, message: None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used). This could be due to a timeout, or a problem in your configuration. More information: https://rev.cat/why-are-offerings-empty, underlyingErrorMessage: , readable_error_code: CONFIGURATION_ERROR, readableErrorCode: CONFIGURATION_ERROR}, null)
```
PS:
My consumable products in iOS store is pending for review
Can you confirm your product identifier in your StoreKit config file matches what you entered in the RevenueCat dashboard? This typically means there’s some type of configuration error and our SDK can find the products. Additionally, I’d recommend taking a look at our docs for testing StoreKit purchases: https://docs.revenuecat.com/docs/apple-app-store#ios-14-only-testing-on-the-simulator
I use the latest version of the dev tools and simulators.
Still it doesn’t work.
Kindly help
Hey @Gokula Krishna,
Thanks for the detailed information, it certainly seems like you have things set up correctly. Can you send over full debug logs recreating this error (from app launch)? Are you able to try on a device and see if it works there?
@cody
This is all the logs I have
Launching lib/main.dart on iPhone 13 in debug mode... lib/main.dart:1 Xcode build done. 26.8s Connecting to VM Service at ws://127.0.0.1:63125/yUBk-lIEQlo=/ws flutter: PlatformException(23, None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used). This could be due to a timeout, or a problem in your configuration. More information: https://rev.cat/why-are-offerings-empty, {code: 23, message: None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used). This could be due to a timeout, or a problem in your configuration. More information: https://rev.cat/why-are-offerings-empty, underlyingErrorMessage: , readable_error_code: CONFIGURATION_ERROR, readableErrorCode: CONFIGURATION_ERROR}, null)
@Gokula Krishna A couple of things to check here, although at first glance the setup seems correct:
Could you make sure that the API key is correct?
Ensure that the Configuration file is included in the target, by selecting it and then in the sidebar on the right, checking that it’s included in Target membership
Anything else in the debug logs that might shed some light? I.e.: other warnings that might at first glance seem unrelated?
@Andy
API key is correct I checked multiple times
Yes the configuration is correct
I can’t see any other errors apart from the above logs
@Andy
I found it. There was a configuration error on storekit product IDs.
Thank you for the support.
I’m glad you found it! Let us know if you run into anything else.