Problem with Developer Products HELP

I have a weird problem In studio where I get a error code when trying to create developer products and some of my developer product scripts stopped working, I don’t know if it has something to do with the script or if something else is wrong.

I’ve tried creating a developer product in my own games and in my group games it gives me the error code everywhere, I also disabled every plugin I have and that didn’t seem to do anything either.

Error Code

Failed builtin_GameSettings.rbxm.GameSettings.Pages.MonetizationPage.Controllers.MonetizationController:181: HttpResponse = { responseTimeMs : 176.2828826904297, responseCode : 403, responseBody : { errors : table: 0xdb93d8c5a80b7199 }, requestOptions : { Headers : table: 0x7701ecc8ec1e1d79, Url : https://develop.roblox.com/v1/universes/4086332479/developerproducts?description=%20&name=Testing%20Bug&priceInRobux=1, Method : POST, Body : [] } }

Developer Product Script That Doesn’t Work

local productId = 1366773605
local mps = game:GetService("MarketplaceService")

mps.ProcessReceipt = function(info)
	local id = info.ProductId
	local plr = game.Players:GetPlayerByUserId(info.PlayerId)

	if id == productId then
		for _, player in pairs(game.Players:GetChildren()) do
			if player.Name ~= plr.Name then
				print("Player Has Bought SuperPush All!")

				game.ReplicatedStorage.SuperPush:FireClient(player,plr)
				
				local bv = Instance.new("BodyVelocity")
				local offset = Vector3.new()
				bv.MaxForce = Vector3.new(10000000,10000000,10000000)
				bv.Velocity = player.Character.Head.CFrame.LookVector * 200
				bv.Parent = (player.Character:FindFirstChild("HumanoidRootPart"))
				spawn(function()
					wait(0.025)
					bv:Destroy()
				end)
				if player.Character:FindFirstChild("Effects") then
					if not player.Character.Effects:FindFirstChild("Ragdoll") then
						local z = Instance.new("BoolValue", player.Character.Effects)
						z.Name = "Ragdoll"
						local Debris = game:GetService("Debris")
						Debris:AddItem(z, 3) 
						task.wait(0.1)
					end
				end
			end
		end
	end
end

Developer Product Script That Works

local MPS = game:GetService("MarketplaceService")
local ServerStorage = game:GetService("ServerStorage")

local Products = {
	[1377863827] = function(receipt,player)
		local med = game:GetService("ServerStorage").Medkit:Clone()
		med.Parent = player.Backpack
	end,
}

function MPS.ProcessReceipt(receiptinfo)
	local playerProductKey = receiptinfo.PlayerId..":"..receiptinfo.PurchaseId
	local plr = game:GetService("Players"):GetPlayerByUserId(receiptinfo.PlayerId)
	
	local handler
	for ProductId,func in pairs(Products) do
		if ProductId == receiptinfo.ProductId then
		handler = func
		break
	end
end
	
	
	local suc = pcall(handler,receiptinfo,plr)
	return Enum.ProductPurchaseDecision.PurchaseGranted
end
1 Like

It seems to be a CoreScript problem. Try uploading the product from the website?

1 Like

yeah creating it from the website works but do you have any idea why the scripts for the dev products aren’t working cause they were working before perfectly fine and now 2 of them stopped working randomly.

1 Like

No idea, try re-installing Studio.

1 Like

It might be team create causing this.

1 Like