Prompting a subscription is not working

When I prompt the subscription in roblox studio, it works fine, but when the subscription is prompted in game an error message occurs.
here is the code I am using to prompt the susbcription


image
image