:GetProductInfo returns invalid information

I’m trying to get the product information of my gamepass using :GetProductInfo. I expect my gamepass’s information to print in the output as I have done here however instead of printing my gamepass information it prints out someone else’s information.


image
image

System Information:
AMD RYZEN 7000 Series 3.1 Ghz
16GB DDR5 RAM
NVIDIA RTX 4050

Use the 2nd argument of the :GetProductInfo function to specify that you are trying to retrieve gamepass info. Otherwise it defaults to asset and that’s why you’re getting such result.

See: https://create.roblox.com/docs/reference/engine/classes/MarketplaceService#GetProductInfo

This is not a bug.

OH shoot, thanks for spotting that