Attempt to teleport to a place is restricted

Hi I am trying make a server system where I can teleport to reserved servers and I am having a problem, I can make the reserved server just fine and teleport the person who made it to the server with this

game.ReplicatedStorage.Remotes.CreateTP.OnServerEvent:Connect(function(plr)
	local code = game:GetService("TeleportService"):ReserveServer(138201440246738)
	print(code)
	
	game:GetService("TeleportService"):TeleportToPrivateServer(138201440246738, code, {plr})

end)

But when it comes to teleporting another players to that server when they press join on a server list its saying Attempt to teleport to a place is restricted

Heres the code

game.ReplicatedStorage.Remotes.TP.OnServerEvent:Connect(function(plr, id)
	print(id)

	--game:GetService("TeleportService"):TeleportToPlaceInstance(138201440246738, id, plr)
	local TO = Instance.new("TeleportOptions")
	TO.ReservedServerAccessCode = id
	game:GetService("TeleportService"):TeleportAsync(138201440246738, {plr}, TO)

end)

The code from the reserved server to make the server list

while wait(5) do
	if getServerType() == "ReservedServer" then
		local data = {
			serverId = game.JobId,
			players = #game.Players:GetPlayers()
		}
		print(data)
		ms:PublishAsync("ServerList", data)
		wait(5) 
	end
end

If you didn’t publish or set the other place to public, it will not work.

It is published, as I said i can reserve the server just fine

Is the place your trying to teleport to set as a place under the starting place?