Skip to main content
Solved

PlatformException Code 2 Error when fetching products


Forum|alt.badge.img+7

This is using the latest Flutter library on Android for subscription products.

We have a live app and an Android customer has reported seeing this error.

Right now we dump it out to the screen, which isn’t very user friendly. But here it is:

Any idea what could be causing this, we only know of it affecting one customer so far with thousands of successful subscriptions.

 

Thanks

Best answer by ryan

The problems that will trigger this on Android:

If it’s only impacting 1 out of thousands it could be a blip in the Google Server. The Purchases SDK will automatically retry these errors, so you shouldn’t have to do anything on your side.

 

(You can find more info on SDK errors and how to handle them in our error handling guide here: https://docs.revenuecat.com/docs/errors#--store_problem)

View original
Did this post help you find an answer to your question?

2 replies

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • August 4, 2021

The problems that will trigger this on Android:

If it’s only impacting 1 out of thousands it could be a blip in the Google Server. The Purchases SDK will automatically retry these errors, so you shouldn’t have to do anything on your side.

 

(You can find more info on SDK errors and how to handle them in our error handling guide here: https://docs.revenuecat.com/docs/errors#--store_problem)


Forum|alt.badge.img
  • New Member
  • 2 replies
  • March 4, 2022

Solution found.

If every thing is fine , then you have to upload it on play store and then download and test it. I was stuck in same error. I was directly compiling and testing the app, but when I uploaded on testing track on play console and then downloaded, and tested then it worked


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