Hi I’m trying to get the name of the Gamepass so I would be able to run it as an event. I’m not sure why I’m encountering this issue though: " MarketplaceService:getProductInfo() failed because HTTP 404 (Not Found)"
My product IDs
Gamepass ID is ProductID
MarketPlaceService.PromptProductPurchaseFinished:Connect(function(player, id, success)
if success and id == ProductID then
print(id)
local success, ProductInfo = pcall(function()
MarketPlaceService:GetProductInfo(ProductID, Enum.InfoType.GamePass)
end)
print(ProductInfo)
end
end)
MarketPlaceService.PromptGamePassPurchaseFinished:Connect(function(player, id, success)
if success and id == ProductID then
local success, ProductInfo = pcall(function()
MarketPlaceService:GetProductInfo(ProductID, Enum.InfoType.GamePass)
end)
print(ProductInfo)
end
end)