Skip to main content
Question

how to debug a Domain=StoreKit_Shared.StoreKitInternalError


Forum|alt.badge.img

This is from an expo 53 react native implementation.
The errors
[StoreKit] [b86562ee] Request failed with error Error Domain=StoreKit_Shared.StoreKitInternalError Code=7 "(null)"
[StoreKit] [3e167164] Request failed with error Error Domain=StoreKit_Shared.StoreKitInternalError Code=7 "(null)"
[StoreKit] [b86562ee] Error updating Storefront: Error Domain=StoreKit_Shared.StoreKitInternalError Code=7 "(null)"
Error Domain=ASDErrorDomain Code=509 "No active account" UserInfo={NSLocalizedDescription=No active account}
occurs when calling 

// Set API key based on platform

const apiKey = Platform.select({

ios: process.env.EXPO_PUBLIC_IOS_RC_API_KEY || 'appl_xxxxxxxxxxxxxxxxxxxxxxxxxx',

android: process.env.EXPO_PUBLIC_ANDROID_RC_API_KEY || 'your_android_api_key_here',

});

// Enable debug logs in development

if (__DEV__) {

await Purchases.setLogLevel(LOG_LEVEL.DEBUG);

}

// Configure RevenueCat with anonymous ID

await Purchases.configure({

apiKey,

entitlementVerificationMode: Purchases.ENTITLEMENT_VERIFICATION_MODE.INFORMATIONAL,

});

 

I get this when I execute Purchase.configure. I am using a simulator because I am still learning how to get it to run on my device.

I have tried everything I can think of. I have watched so many help videos and read and reread the documentation. I have no doubt it is my fault. But after many days of trying everything I am close to giving up. And I can’t. This AAC app is for my grandson and he needs it badly.

3 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 429 replies
  • June 10, 2025

Hi ​@rob-gore,

Based on your logs it look like it’s due to the account in your simulator. I’d recommend testing everything related to purchases with a physical device when possible since simulators are a lot less stable. Also make sure you use a test sandbox account that is part of your testers in App Store Connect, you can read about here.

 

Best,


Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • June 10, 2025

Thank you for your reply. Once I deployed from xcode to my physical device everything worked!

Rob :-)


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 429 replies
  • June 16, 2025

Hi ​@rob-gore,

I’m glad to hear it! It’s always best to test in a physicial device when possible.

 

Best,


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings