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 5 years ago
Edited by DeceptiveCaster 5 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 — 5y
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 — 5y

1 answer

Log in to vote
0
Answered by 5 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 — 5y
Ad

Answer this question