Question

Offerings returned empty on iOS error RevenueCat.PublicError? domain: "RevenueCat.ErrorCode" - code: 23

  • 8 June 2023
  • 4 replies
  • 273 views

Badge

 

Hi, RevenueCat skd is not able to fetch the offers packages, I already check the id and there are the same ( I imported from appStore connect)

I ran the app in a device and the simulator,  I’m able to fetch the customer info but not the offers.

In the logs I can see the offers name but RevenueCat is no able to bring them.

See Xcode Logs with the name of the offers:

2023-06-07 17:43:31.500572-0500 RevenueCatSharpen[24587:4211535] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["year_subscription", "sharpen_threeM_5M_0"]


RevenueCatSharpen[24507:4202388] [Purchases] - DEBUG: ℹ️ Found an existing request for products: ["sharpen_threeM_5M_0", "year_subscription"], appending to completion

 

See the offers name and Ids in Revenue Cat

 

 

 

This is the full Log

 

Network operation 'GetOfferingsOperation' found with the same cache key 'GetOfferingsOpe...'. Skipping request.

2023-06-07 17:43:30.642469-0500 RevenueCatSharpen[24587:4211535] [Purchases] - DEBUG: ℹ️ API request started: GET /v1/subscribers/$RCAnonymousID:1338a59d9c854449985dd7033844167c/offerings

2023-06-07 17:43:30.692429-0500 RevenueCatSharpen[24587:4211535] [Default] Error enumerating unfinished transactions: Error Domain=ASDErrorDomain Code=509 "No active account" UserInfo={client-environment-type=Sandbox, NSLocalizedDescription=No active account, AMSServerErrorCode=0}

2023-06-07 17:43:30.692516-0500 RevenueCatSharpen[24587:4211531] [Purchases] - DEBUG: ℹ️ Network operation 'GetCustomerInfoOperation' found with the same cache key 'GetCustomerInfo...'. Skipping request.

2023-06-07 17:43:30.692727-0500 RevenueCatSharpen[24587:4211535] [Purchases] - DEBUG: ℹ️ Network operation 'GetCustomerInfoOperation' found with the same cache key 'GetCustomerInfo...'. Skipping request.

2023-06-07 17:43:30.729979-0500 RevenueCatSharpen[24587:4211531] [Default] Error enumerating unfinished transactions: Error Domain=ASDErrorDomain Code=509 "No active account" UserInfo={storefront-country-code=USA, client-environment-type=Sandbox, AMSServerErrorCode=0, NSLocalizedDescription=No active account}

2023-06-07 17:43:31.495195-0500 RevenueCatSharpen[24587:4211531] [Purchases] - DEBUG: ℹ️ API request completed: GET /v1/subscribers/$RCAnonymousID:1338a59d9c854449985dd7033844167c/offerings (304)

2023-06-07 17:43:31.500273-0500 RevenueCatSharpen[24587:4211531] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["year_subscription", "sharpen_threeM_5M_0"]

2023-06-07 17:43:31.500572-0500 RevenueCatSharpen[24587:4211535] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["year_subscription", "sharpen_threeM_5M_0"]

2023-06-07 17:43:31.500588-0500 RevenueCatSharpen[24587:4211531] [Purchases] - DEBUG: ℹ️ Found an existing request for products: ["year_subscription", "sharpen_threeM_5M_0"], appending to completion

2023-06-07 17:43:31.500724-0500 RevenueCatSharpen[24587:4211531] [Purchases] - DEBUG: ℹ️ Found an existing request for products: ["year_subscription", "sharpen_threeM_5M_0"], appending to completion

2023-06-07 17:43:31.500818-0500 RevenueCatSharpen[24587:4211531] [Purchases] - DEBUG: ℹ️ GetOfferingsOperation: Finished

2023-06-07 17:43:31.501052-0500 RevenueCatSharpen[24587:4211531] [Purchases] - DEBUG: ℹ️ Serial request done: GET subscribers/$RCAnonymousID%3A1338a59d9c854449985dd7033844167c/offerings, 0 requests left in the queue

2023-06-07 17:43:31.501109-0500 RevenueCatSharpen[24587:4211532] [Purchases] - DEBUG: ℹ️ GetCustomerInfoOperation: Started

2023-06-07 17:43:31.501304-0500 RevenueCatSharpen[24587:4211532] [Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request GET subscribers/$RCAnonymousID%3A1338a59d9c854449985dd7033844167c

2023-06-07 17:43:31.504203-0500 RevenueCatSharpen[24587:4211532] [Purchases] - DEBUG: ℹ️ API request started: GET /v1/subscribers/$RCAnonymousID:1338a59d9c854449985dd7033844167c

2023-06-07 17:43:31.564487-0500 RevenueCatSharpen[24587:4211532] [Purchases] - DEBUG: 😻 Store products request received response

2023-06-07 17:43:31.564488-0500 RevenueCatSharpen[24587:4211535] [Purchases] - DEBUG: 😻 Store products request finished

2023-06-07 17:43:31.567617-0500 RevenueCatSharpen[24587:4211532] [Purchases] - ERROR: 🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)

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

2023-06-07 17:43:31.567918-0500 RevenueCatSharpen[24587:4211532] [Purchases] - ERROR: 🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)

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

2023-06-07 17:43:31.568085-0500 RevenueCatSharpen[24587:4211412] [Purchases] - ERROR: 😿‼️ 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

2023-06-07 17:43:31.568113-0500 RevenueCatSharpen[24587:4211532] [Purchases] - ERROR: 🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)

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

2023-06-07 17:44:07.939070-0500 RevenueCatSharpen[24587:4211648] [Purchases] - DEBUG: ℹ️ API request completed: GET /v1/subscribers/$RCAnonymousID:1338a59d9c854449985dd7033844167c (304)

2023-06-07 17:44:07.950627-0500 RevenueCatSharpen[24587:4211648] [Purchases] - DEBUG: ℹ️ Sending latest CustomerInfo to delegate.

2023-06-07 17:44:07.950823-0500 RevenueCatSharpen[24587:4211648] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.

2023-06-07 17:44:07.950890-0500 RevenueCatSharpen[24587:4211412] [Purchases] - DEBUG: ℹ️ Detected active subscriptions changed. Clearing trial or intro eligibility cache.

2023-06-07 17:44:07.951417-0500 RevenueCatSharpen[24587:4211412] [Purchases] - DEBUG: ℹ️ PurchasedProductsFetcher: invalidating cache

2023-06-07 17:44:07.952154-0500 RevenueCatSharpen[24587:4211648] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.

2023-06-07 17:44:07.953523-0500 RevenueCatSharpen[24587:4211648] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.

2023-06-07 17:44:07.953668-0500 RevenueCatSharpen[24587:4211648] [Purchases] - DEBUG: ℹ️ GetCustomerInfoOperation: Finished

2023-06-07 17:44:07.953862-0500 RevenueCatSharpen[24587:4211648] [Purchases] - DEBUG: ℹ️ Serial request done: GET subscribers/$RCAnonymousID%3A1338a59d9c854449985dd7033844167c, 0 requests left in the queue

2023-06-07 17:44:08.072525-0500 RevenueCatSharpen[24587:4211648] [tcp] tcp_input [C1.1.1:3] flags=[R] seq=2687262062, ack=0, win=0 state=LAST_ACK rcv_nxt=2687262062, snd_una=1297491075

2023-06-07 17:44:08.074556-0500 RevenueCatSharpen[24587:4211648] [tcp] tcp_input [C1.1.1:3] flags=[R] seq=2687262062, ack=0, win=0 state=CLOSED rcv_nxt=2687262062, snd_una=1297491075

2023-06-07 17:44:08.074801-0500 RevenueCatSharpen[24587:4211648] [tcp] tcp_input [C1.1.1:3] flags=[R] seq=2687262062, ack=0, win=0 state=CLOSED rcv_nxt=2687262062, snd_una=1297491075


4 replies

Hi @jhonnatan-29b12e, have you taken a look at this?

If you have and ruled out the issues mentioned there, you might want to double check the bundle identifiers in your xcodeproj and make sure it matches the App Store and RC? 

Userlevel 4
Badge +8

Hi, the error you are getting here “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)” indicates that there is a problem with your configuration or products.

 

I agree with Deema that you first want to check our guide linked in the debug logs and attempt those troubleshooting steps. If you are still experiencing this after, then one suggestion would be for you to try manually add the products rather than importing from App Store Connect.

Badge +3

Same problem here since yesterday, the app was up and running since 1 year and without any change we got the error.

Please solve it quickly

Badge

Hi, my error was that I was using two RC API at the same time, I was consulting the Customer Info and get Offerings. 

Reply