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

Will not let me Datastore API in studio?

I have been testing my autosave feature for my game, yet it wont let me write to the datastore from studio. Instead, it shows this error: Cannot write to DataStore from studio if API access is not enabled. Enable it by going to the Game Settings page. Does anyone know where the game settings page is, or how I would enable the DataStore API access?

thanks

1 comment

1

From the develop page, click on you game so it takes you the games page, click on the 3 squares where the configuration menu is at and select "Configure this game", from there you can enable the API

1 answer

You do this by going to your Develop Tab Finding the game you want to enable studio API access in and click the gear icon to the right and click "Configure game" On the next page you want to check the box that says, "Enable Studio Access to API Services" After that you simply click "Save" to apply the settings, after that you should be able to access datastores in studio.

Visuals:

Step 1

Step 2

Note: if you still can't access them, try saving your game and restarting Roblox Studio.

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