Skip to main content
Question

Granted Entitlement Not Reflected in getCustomerInfo() Response


Forum|alt.badge.img

I just added an entitlement to a user, but it doesn't appear in the object returned from RevenueCat.


In the RevenueCat UI, it shows that the entitlement has been granted. I understand that RevenueCat caches data for around 5 minutes, but even after 30 minutes, I'm still getting null for the subscription.


Here’s how I’m checking for active subscriptions in the app:

```
await Purchases.invalidateCustomerInfoCache();

const customerInfo = await Purchases.getCustomerInfo();

return Object.keys(customerInfo.entitlements.active).length > 0;
```


Am I missing something? I have both monthly and yearly subscriptions set up, but in this case, I granted the user a 3-month entitlement.

2 replies

wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 281 replies
  • April 18, 2025

Hi! Based on your current code, the granted entitlement should be retrieved. Could you share the app user ID of the user with the granted entitlement so that I can take a closer look on our end? If you would rather not share that information publicly, you can start a private support ticket via the RevenueCat Dashboard.


wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 281 replies
  • April 18, 2025

Sorry for the quick follow-up, but I was thinking about your issue further. Are you currently using the sandbox environment in order to recreate this issue? Granted Entitlements are treated as production transactions, so they won’t be detected in the Sandbox environment. 


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