Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why can't i purchase my gamepass in game?

I scripted a gamepass handler and it works, but when I go in game it's gives me an error stating the item was no purchased try again later. I looked in the dev console and I saw and HTTP Forbidden error Down below is the screenshot!

That's the link to the error

https://gyazo.com/5d2d779b097401f3bf5c7577966fde04

2 comments

0

Are you doing this in studio?

0

Yeah

1 answer

The problem is, you don't have to Roblox Api Services enabled in studio.

  1. To enabled this, go to the "Develop" tab on the Roblox Website, which was renamed to "Create".

  2. Find your game and click the Gear on the right hand side of it, and press Configure Game from the drop down menu.

  3. Check off "Enable Studio Access to API Services: [ ]"

Keep in mind with this disabled, it will save data to the actual server, so if you want to test saving data, I suggest disabling this option

The reason why you need this, is because without you don't have access to things like the "MarketPlaceService"

Correct me if I'm wrong, but I believe this will fix your error.

2 comments

0

I get this sir, ill post a screenshot of my error here! https://gyazo.com/32aa02ad54302e15069544e72bd7114a

0

Hmm, Sorry I'll look into it

This discussion is preserved as it was. New answers, comments, and votes are closed.