|
| 04 Jun 2013 12:42 AM |
Getting this, seemingly arbitrarily, when I make a call to GetProductInfo. Anyone know what causes it or how to fix it?
local pass, data = ypcall(function() return MPS:GetProductInfo(16606211) end) print(pass, data) --> false RawCallback error
A few minutes later
local pass, data = ypcall(function() return MPS:GetProductInfo(16606211) end) print(pass, data) --> true table: 1B034048
What could possibly be the cause of this? |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2013 12:54 AM |
MPS = game:GetService("MarketplaceService")
by the way |
|
|
| Report Abuse |
|
|
coplox
|
  |
| Joined: 07 Jun 2008 |
| Total Posts: 3252 |
|
| |
|
|
| 04 Jun 2013 06:36 AM |
GetProductInfo doesn't work in Studio or iOS just yet, if you're trying to do it with either of those. http://wiki.roblox.com/index.php/GetProductInfo_(Method). I guess you use the DecodeJSON() function of the RbxUtility library if you want it to work properly. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2013 11:39 AM |
| It does work and decoding it isn't the problem. At no point am I attempting to access the data. Retrieving the data is the problem. I'm not getting any data to decode. |
|
|
| Report Abuse |
|
|