Skip to main content
Solved

"Error when fetching products" only happening in production version

  • May 12, 2023
  • 1 reply
  • 325 views

Forum|alt.badge.img+5

I’ve installed revenuecat for subscription product. It’s working well for iOS.

 

For android It’s also working well when I’m trying it as a license tester.

After after I made the app live on google play, calling Purchases.purchaseProduct() method throws the below error

 

{"nativeStackAndroid":[],'userinfo":
{"underlyingErrorMessage":"Error when fetching products.
DebugMessage: An internal error occurred.. ErrorCode:
SERVICE_UNAVAILABLE.""readable_error_code":"Stor
eProblemError",'readableErrorCode":"StoreProblemE
rror','message":"There was a problem with the Play
Store."'code":2},'message":" There was a problem with the
Play Store."'code":"2""userCancelled":false,'line":59,'column’
:1119,"sourceURL":"index.android.bundle"}

The strangest thing is, it’s not showing when I’m trying to purchase as license tester.

 

Any help would be highly appreciated.

Best answer by Michael Fogel

Hey There! 

 

This error that you are seeing is forwarded from Google directly and indicates there was a problem connecting to the Play Store.

 

The problems that will trigger this on Android:

To resolve this, If everything is/was working while testing, you shouldn't have to do anything to handle this error in production. RevenueCat will automatically retry any purchase failures so no data is lost.

 

This should resolve itself in due time, but make sure to keep checking for any updates! 

View original
Did this post help you find an answer to your question?
This post has been closed for comments

1 reply

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • Answer
  • May 15, 2023

Hey There! 

 

This error that you are seeing is forwarded from Google directly and indicates there was a problem connecting to the Play Store.

 

The problems that will trigger this on Android:

To resolve this, If everything is/was working while testing, you shouldn't have to do anything to handle this error in production. RevenueCat will automatically retry any purchase failures so no data is lost.

 

This should resolve itself in due time, but make sure to keep checking for any updates! 


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