Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to query inventory : Error refreshing inventory

I don't understand why i keep getting the following message when i am starting my app:

Error: Failed to query inventory: IabResult: Error refereshing inventory (querying prices of items). (response:6:Error)

I observed that if there is network connection available then i don't receive the error message and it also doesn't appear for some time after i close the network connection. But say after few hours again the message starts popping up if there is no network !

Any idea to get around this issue ? Does caching comes in picture over here ? Is there some kind of timeout involved ? Should we simply not show the error if the querying fails ?

EDIT:

I have installed the app on my device by logging in with a test account. I have purchased the in-app feature as well.

Is this issue because its a test account ?

Any help would be great.

Thanks, Adithya.

like image 761
Adithya Avatar asked Nov 02 '22 22:11

Adithya


1 Answers

In my testing I was running across the same issue with no network connection. See my answer here to see if the same thing happens:

In-app billing v3 unable to query items without network connection or in airplane/flight mode

like image 116
joelreeves Avatar answered Nov 13 '22 21:11

joelreeves