#ReserveServer issue

19 messages · Page 1 of 1 (latest)

sick coyote
#

im getting http 403 error for trying to reserver a server in my game

#
local function GetPrivateServerCode()
    local generateCode = teleportService:ReserveServer(16265940602)
    
    repeat wait() until generateCode ~= nil
    print(generateCode)
    return generateCode
end
fast smelt
#

and should work fine in the roblox player. It doesnt let you use reserveserver in studio

sick coyote
#

Oh that's why it was erroring

#

Thanks

fast smelt
#

were u testing it in studio?

#

@sick coyote

sick coyote
#

Yeah

fast smelt
#

test it in roblox player, and let me know if it works

sick coyote
#

It works in roblox even without the pcall but i will put in it just in case

fast smelt
#

I'd a retry function if it fails, but the choice is up to you.

#

tbh idk if it is needed

#

but you could add it

#

yeah, dont. not needed. just add pcall

#

it is completely up to you. it can fail if there are too much servers reserved

#

in your place

sick coyote
#

Im using pcall now