4ntoine
4ntoine

Reputation: 20432

Android in-app billing SDK V3 : Error refreshing inventory

I'm getting an exception:

com.android.vending.billing.util.IabException: Error refreshing inventory (querying prices of items). (response: 6:Error)

on

(IabHelper instance).queryInventory(true, skuList);

on 2 devices of 4 (different manufacturers, android os versions), on other 2 it works okay. skuList is populated ok

Whay does it mean and how can it be fixed/walk-around?

Upvotes: 1

Views: 3045

Answers (2)

Analizer
Analizer

Reputation: 1644

I got the same error message, in my case I was a total idiot and passed the Base64-encoded RSA public key (used in the setup of IabHelper) in the SKU list. When I changed that to the actual in-app product id, the problem disappeared.

Upvotes: 1

joelreeves
joelreeves

Reputation: 1954

I'm only seeing that in my implementation if a device doesn't have a network connection. Are the 2 devices that failed connected to the carrier network or wi-fi?

Upvotes: 1

Related Questions