Solved

Seemingly out-of-place "Apple Subscription Key is invalid or not present"

  • 28 February 2024
  • 5 replies
  • 55 views

Badge +4

We are now getting reports from some users complaining that they paid, but nonetheless don’t have premium access. This seems to be happening on IOS in particular.

The are getting the following error-message:
 

Apple Subscription Key is invalid or not present. In order to provide subscription offers, you must\nfirst generate a subscription key.\nPlease see https://docs.revenuecat.com/docs/ios-subscription-offers for more info. Apple Subscription Key is invalid or not present.

 

I find this to be confusing because:

1: We have added a subscription key (so it should be present)


2: It doesn’t seem to happen to most users 

If something is wrong with the Apple Subscription Key, shouldn’t this affect all users trying to make an IOS purchase through that particular app?

3: It seems to have popped up on its own accord

I’m not aware of this problem having been here for a long time (even though we started using RevenueCat in 2022). It also doesn’t seem like this issue started popped up right after we made an update for the app. For example, there seems to be a surge now with this error occurring on the Norwegian app in recent days, even though the last update to that app was 2 months ago.

A possibility I’m open to is that part of the explanation could be that we are using an outdated version of the RevenueCat SDK. And I will be pushing out a new updated version soon (where a newer version of the RevenueCat SDK is used). But this does not seem to me as a satisfactory explanation that resolves my confusion. And I don’t know whether updating the app will make things better. 

icon

Best answer by MarcosC 28 February 2024, 11:22

View original

This post has been closed for comments

5 replies

Userlevel 3
Badge +6

Hi @SignLab 

I saw some failed requests from the German one and checked your config and your app bundle ID is empty in 5 of those 8 app IDs (including the german one). Can you include the bundle ID to them?

Badge +4

I just made a script looking for users who had this issue, and all the users with this issue were from those 5 apps. Thank you @MarcosC! Who knows how long I’d spend on this if you did not get to the bottom of it.

Userlevel 3
Badge +6

@SignLab if you configure the bundle ID, I can go ahead and replay all requests that failed

Badge +4

Thanks @MarcosC. I think I have configured all the bundle-IDs. (And I have also set all the affected users to premium in our DB - or at least I think I did catch all of them, but it sounds like a good idea to replay the requests if this is something you can do quickly.)

Userlevel 3
Badge +6

Cool, I’ll let you know once we replayed them all (and I can DM you the user IDs that we’ve replayed)