TeleportService returning HTTP 403 (Forbidden)

I am using TeleportService in a Server Sided Script under Workspace. I keep receiving this error though. I checked if its the correct place ID I am trying to teleport the player to, I checked if the place was published and I made sure it was under the Home place. I wrapped it with a pcall() function because I saw that somewhere on the Devforum. I joined the game on the Roblox client because I am aware you can’t teleport in studio. Here is my code I used to teleport the player:

					pcall(function()
						local server_id = TS:ReserveServer(18626714182)
						TS:TeleportToPrivateServer(18626714182, server_id, player)
					end)

How can I fix this, i’ve been trying to figure this out for an entire day.

The third argument has to be an array of player objects:

TS:TeleportToPrivateServer(18626714182, server_id, {player})
1 Like

I’ll try it out, I believe this is correct and I just forgot to add those.

It works, thank you so much. I could swear im losing it coding wise :sob:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.