Hello I have a major issue, i am trying to get a productinfo of a pass and i keep getting http 404 error
Script:
local MarketPlaceService = game:GetService("MarketplaceService")
local function info()
local success, m = pcall(function()
return MarketPlaceService:GetProductInfo(16206974643, 2)
end)
if success and m then
local id = 16206974643
local gamepassname = m.Name
local price = m.PriceInRobux
local desc = m.Description
local imgid = m.IconImageAssetId
return {id=id, Name=gamepassname, price=price, desc=desc, imgid="rbxassetid://"..tostring(imgid)}
else
--warn(err)
return{id=0, Name="Error", price=0, desc="Error", imgid="rbxassetid://"..tostring(119971175)}
end
end