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

Why am I getting an HTTP 403 error from TeleportToPrivateServer?

Asked by
ruwuhi 23
4 years ago

This code is supposed to teleport PlayersToTeleport (which is a table) to a server. However, I'm getting a HTTP 403 error on the line where "code" is assigned. How can I avoid this? (HTTP and API are enabled)

local TS = game:GetService("TeleportService")
local code = TS:ReserveServer(4830926172)

local success, result = pcall(function()
    return TS:TeleportToPrivateServer(4830926172, code, PlayersToTeleport)
end)

1 answer

Log in to vote
0
Answered by 4 years ago

ah i see the error 403 means you dont have access to something make sure the place is not a separate game that it is a multi place game because if this would work when you would not have access you would be able to create a solo server in any game if you use normal teleport you can be teleported to any game!

0
I made it a place and it's still not working. ruwuhi 23 — 4y
Ad

Answer this question