Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago
Edited by DeceptiveCaster 4 years ago

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.

0
Where do you define PlayersToTeleport? Ankur_007 290 — 4y
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. DeceptiveCaster 3761 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

Fixed

0
Sorry too bring this up again, but im having the same issue and i want to know how you fixed it. RunKittenzRComin 170 — 4y
Ad

Answer this question