HTTP 403 error is occuring when calling ReserveServer()

I have been getting this when I try to use ReserveServer(). I am using ReserveServer to make players, not being able to join to another game. I have turned on all Security’s options on and I searched all forums about it, but I don’t find a solution. I tried to look into the official document, posting about the SafeTeleport thing, didn’t work. My two questions are to how to get rid of it and the other one is: It will be a single player game, so I am asking if using :Teleport to a single player lobby, is making them able to join there or atleast get the “Experience is full” tab. If there are alternatives please tell me!

Code if needed
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TeleportService = game:GetService("TeleportService")
local Players = game:GetService("Players")

local function onRemote(player, id)
	local requestedPlayer = {}
	table.insert(requestedPlayer, player)
	local IntValue = script.IdValue
	IntValue.Value = id
	local options = Instance.new("TeleportOptions")
	options.ShouldReserveServer = true
	options.ReservedServerAccessCode = TeleportService:ReserveServer(IntValue.Value)
	TeleportService:TeleportAsync(IntValue.Value, requestedPlayer[1], options)
end

ReplicatedStorage.Remotes:WaitForChild("Teleport").OnServerEvent:Connect(onRemote)
1 Like

image

I’m a bit confused from your description of the problem, so I’m just going on the post title here.

HTTP 403 error code means whatever request you’re making is forbidden. I can’t tell you much about TeleportService, but I would imagine that this would happen when you’re trying to reserve a server that isn’t a part of your experience. Are you reserving other places in your game or other people’s game?

The Place I am teleporting to is a place I created, and if I let’s change it to :Teleport and remove the options, I can teleport to the Place. And to answer your question, no, I do not reserve other places, only the one I am trying to test. The IntValue is btw just the ID from clicking of a button, just to make it easier to not paste the IDs there.

No, I mean do you OWN the place that you’re trying to reserve a server of? It would make sense that you’re able to teleport to places you don’t own (that’s why you’re able to teleport there normally), but not able to reserve servers in other people’s places. I’m wondering if that intuition is correct. Again, I don’t know much about TeleportService but that would logically seem to be the case.

Where can you look again where you own the place? I forgot that

Well you should know if you own the place or not, right? It would be either developed under your name or a group that you’re a listed developer on. If the place is not developed under either, then that could be why you’re receiving the 403 error.

Ok yea it is owned by me.

charchar