Data APIs in Start Server, Start Player

This line of code works in local test but gives a 500 error when running in Start Server, Start Player local networked test.

local DeveloperProducts = game:GetService("MarketplaceService"):GetDeveloperProductsAsync():GetCurrentPage()

How can I test this without deploying my game to production?

Can add FilterStringForPlayerAsync to this list

1 Like

Since DataStores work per-game instead of per-place, you could add a separate testing grounds place

It’ll be fun cloning doubling the contents of my multi-place universe to test

1 Like

Note that these are just data APIs, not DataStores.

So it is a related but different set of bugs that prevent local testing in all probability.

Right right, I see.

My guess is that local servers don’t load any universe (or game) data into them, so the GetDeveloperProductsAsync method doesn’t know where to look for the developer products. That’s why I suggested that you have a separate test place in the universe, so you can join it in a real server instead of a local server.

In a local server, purchases won’t work anyway, because the local players are technically seen as guests, since their UserId is negative.

Roblox’s API shouldn’t really have any surprise differences between offline and online, so don’t be afraid to just use Play Solo.