Skip to main content
Answer

PlatformException Code 2 Error when fetching products

  • August 4, 2021
  • 2 replies
  • 790 views

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)

This post has been closed for comments

2 replies

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 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
  • 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