Receiving an error for game passes I shouldn't be getting

This is a pretty simple but annoying problem I’m having.

game:GetService("MarketplaceService"):PromptPurchase(game.Players.LocalPlayer, 4063984)

Running that code throws this warning.

image

But obviously, this is a gamepass

Does anyone have any ideas on how to fix this? Am I using part of the recently deprecated API? Do I need to convert the ID or something?

Somewhat. Changes went live today for dedicated game pass API.

However, that is a warning instead of an error. I would recommend addressing it, but it shouldn’t break your game.

This is also a very big problem for vip stuff in a game I’m working on as well. I posted a forum here about it.

1 Like