Skip to main content
Question

ERROR: 🤖‼️ PurchasesError(code=StoreProblemError, underlyingErrorMessage=Failed to get user data.)


Forum|alt.badge.img+1

so i have a flutter project where i am trying to add amazon IAP

 i did everything i set up amazon app with live testing and created in-App item which is a subscription after that i added amazons shared key in revenuecat.

in flutter i configured Purchases configuration and after app starts i get the error 

 

This post has been closed for comments

3 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 556 replies
  • August 14, 2024

Hi, could you send debug logs that reproduce this so I can see what error you are getting? You can enable debug logs by following this guide. After they're enabled you'll see logs like this in the console:

[Purchases] - DEBUG: No cached entitlements, fetching
[Purchases] - DEBUG: GET /v1/subscribers/<APP_USER_ID> 200
[Purchases] - DEBUG: Purchaser info updated, sending to delegate

Please ensure the debug logs include the entire app life-cycle, including the messages printed during initialization of the SDK. The more information you include here, the better we'll be able to help.


Forum|alt.badge.img+1

this is the log


Forum|alt.badge.img+1

never mind found the problem. thank you for your time 


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