[PLS HELP!] HTTP 403 (Forbidden)/ReserveServer/ Restricted place

Hi developers, today I have a bug in my roblox game. I have used the ReserveServer and I am trying to teleport players to a place. But I do not understand why this error happens, I have investigated but I still can not solve it. I would appreciate your help.

By the way, I have already tried to publish the place


image

Script:

local function teleportPlayers() 
	if #PlayerList > 0 then
		BillBoard.Frame.Status.Text = "TELEPORTING"
		BillBoard.Frame.Status.TextColor3 = Color3.fromRGB(255, 0, 0)
		local playersToTeleport = {}
		local teleportTime = 0
		
		for i=1,#PlayerList do
			if game.Players:findFirstChild(PlayerList[i]) then
				table.insert(playersToTeleport,game.Players:findFirstChild(PlayerList[i]))
				TransitionEvent:FireClient(game.Players:findFirstChild(PlayerList[i]))
			else
				table.remove(PlayerList,i)	
			end
		end 
		
	    task.wait()
		local code = TeleportService:ReserveServer(place)
		task.wait()
		TeleportService:TeleportToPrivateServer(place,code,playersToTeleport)
		
		
		Teleporting = true

			repeat wait() until #PlayerList <= 0

		BillBoard.Frame.Status.Text = "READY"
		BillBoard.Frame.Status.TextColor3 = Color3.fromRGB(255, 0, 0)
		
		
		Teleporting = false
	end
end

Try this:

local function teleportPlayers() 
	if #PlayerList > 0 then
		BillBoard.Frame.Status.Text = "TELEPORTING"
		BillBoard.Frame.Status.TextColor3 = Color3.fromRGB(255, 0, 0)
		local playersToTeleport = {}
		local teleportTime = 0
		
		for i=1,#PlayerList do
			if game.Players:findFirstChild(PlayerList[i]) then
				table.insert(playersToTeleport,game.Players:findFirstChild(PlayerList[i]))
				TransitionEvent:FireClient(game.Players:findFirstChild(PlayerList[i]))
			else
				table.remove(PlayerList,i)	
			end
		end 
		
	    task.wait()
		local code = TeleportService:ReserveServer(place)
		task.wait()
		TeleportService:TeleportToPrivateServer(place,code,{playersToTeleport})
		
		
		Teleporting = true

			repeat wait() until #PlayerList <= 0

		BillBoard.Frame.Status.Text = "READY"
		BillBoard.Frame.Status.TextColor3 = Color3.fromRGB(255, 0, 0)
		
		
		Teleporting = false
	end
end

It does not work, now it does not teleport me to the place. Is there another solution?

  1. U said now it does not teleport to the Place so did it teleport you to the place with your script?

  2. How many People are in the Table

the problem is that the teleportation script does not allow me to teleport and it appears that the place is restricted and the HTTP output error, sorry I use translator.