Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Http 400 error at game teleportation. Any fix for it? [SOLVED]

Hey i have a http 400 error on the new game im making. It has a queue to teleport the people in the table but at the reserveserver section i get a 400 error

Teleport code:

local id = 2558455770

local tps = game:GetService("TeleportService")


function teleportPlayers(id, PlayersToTeleport)
    local code,privateServerId = tps:ReserveServer(id,PlayersToTeleport)
    print(tps:TeleportToPrivateServer(id,code,PlayersToTeleport))
    wait()
end

while wait(5) do
	teleportPlayers(2558455770, PlayersToTeleport)
end

Any fix for it? Please i need it.

2 comments

0

Where do you define PlayersToTeleport?

0

HTTP 400 is an error that means that the request you sent to teleport was either invalid or corrupt. Check to make sure that you have access to that private server.

1 answer

Fixed

1 comment

0

Sorry too bring this up again, but im having the same issue and i want to know how you fixed it.

This discussion is preserved as it was. New answers, comments, and votes are closed.