Skip to main content

I am using Unity 2021.3.27f1 and RevenueCat version 6.10.0.

My code works fine on iOS, but I encountered this error message on Android (real device) when get offerings. This error occurs whether I use Unity's build and run feature or upload it to the internal testing on the Google Play Console:
 

_getOfferings {"error":{"code":2,"message":"There was a problem with the store.",
"readableErrorCode":"StoreProblemError",
"readable_error_code":"StoreProblemError",
"underlyingErrorMessage":"Error when fetching products - DebugMessage: An internal error occurred.. ErrorCode: SERVICE_UNAVAILABLE."}}

I've checked my settings in RevenueCat:

  1. The Google Play package name matches across Google Play Console, Unity, and RevenueCat.
  2. The package and offerings are correctly set up in RevenueCat.
  3. It’s not an issue with the developer API, as the payment feature is only being tested by me and hasn't been officially launched.

Please advise on how to fix this error. Thank you!

It turns out I resolved the issue myself.

It seems that the account logged into this device was not authorized in the Google Play Console.

After removing the unauthorized account and restarting the device, everything works correctly.