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:

01local id = 2558455770
02 
03local tps = game:GetService("TeleportService")
04 
05 
06function teleportPlayers(id, PlayersToTeleport)
07    local code,privateServerId = tps:ReserveServer(id,PlayersToTeleport)
08    print(tps:TeleportToPrivateServer(id,code,PlayersToTeleport))
09    wait()
10end
11 
12while wait(5) do
13    teleportPlayers(2558455770, PlayersToTeleport)
14end

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