New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

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

Asked by 3 months ago
Edited by BashCaster 3 months 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 215 — 3mo
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. BashCaster 2370 — 3mo

1 answer

Log in to vote
0
Answered by 3 months 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 27 — 2mo
Ad

Answer this question