Skip to main content
Question

migrating users from an existing app

  • July 15, 2025
  • 1 reply
  • 12 views

Forum|alt.badge.img

im trying to migrate over to Revenue Cat and have followed the steps. I noticed that my previous subscriptions have not pulled through so I cant see all my existing users, only new ones since setting up the various accounts and connecting to apple and google 

I keep getting told that the Secret key api is too short but its exactly what I have under secret keys in the api keys section 

my products already exist and have been bought numerous times over the last 5 months 

as well as 

Product Configuration Error: PlatformException(23, There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. 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). 
More information: https://rev.cat/why-are-offerings-empty, {message: There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. 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). 
More information: https://rev.cat/why-are-offerings-empty, readableErrorCode: CONFIGURATION_ERROR, readable_error_code: CONFIGURATION_ERROR, code: 23, underlyingErrorMessage: }, null)

and its telling me the entitlement cant be found but its all setup already - entitlement not found in dashboard but I can see its there 

please can I get assistance as im getting no where with this

thank you 

This post has been closed for comments

1 reply

guilherme
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 91 replies
  • July 17, 2025

Hey ​@brad-elin-a91e28 ,

The error you're seeing (CONFIGURATION_ERROR, code 23) generally means RevenueCat can't fetch your products from the App Store. This blocks entitlements too, since RevenueCat can’t validate or attach them without store product data - from what I can see in your configuration, it all seems setup properly. 

Does this happen in a specific environment (sandbox or production) and using a simulator or real device? And which API versions of the testing device are you using? There has been some Apple StoreKit issues in specific scenarios, which is worth double checking.

As for you old subscribers aren't showing up, that’s expected until their purchase history is imported! RevenueCat doesn’t automatically pull in historical data, so you’ll need to:

  • Call syncPurchases() the first time a migrated user opens the app version with RevenueCat installed

More on syncPurchases() vs restorePurchases() and where/how to best use them, taking in account the Restore Behavior

  • Or, if you have access to receipts or tokens from your previous system, import them via the POST /receipts API

It’s a one-time action per customer, but required for RevenueCat to recognize those historical purchases. Here’s our full section on it: Importing Historical Purchases

 

On the message of “Secret key is too short,” it may be due to using a different than expected type of API key in your calls. There are two to consider:

  • Public API keys (pk_...) → used in the app/client SDK

  • Secret API keys (sk_...) → used for server-side or REST API calls

Secret keys are longer and only valid when used server-side. If you're working in the SDK, make sure you're using the correct public key. You’ll find both under, in the new navigation:


RevenueCat Dashboard → API Keys (bottom left panel)

 

I hope this help clarifying things, but let me know if you’re still experiencing any issues! If you’d prefer to share more details, feel free to open a Support Ticket and link this thread too for the extra context.

Best,


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