Error Code 773, Failure to Teleport?

Today my game started returning this error when trying to teleport players.

This is unusual because it used to work fine. The only thing I did recently is I changed the player limit for the game. The game is public and should allow players to teleport to it, but for some reason, I get this error. There is also a 773 error code when trying to teleport.

Works fine occasionally

6 Likes

Well this is the line of code that teleports them:

ts:Teleport(allTeles.getWorldId(world), plr)

The world id is obtained from a module, here are the world ids:

local worldIds = {
["Mainland"] = 1451195595;
["Dry Desert"] = 2848851570;
["Deep Sea"] = 2848113743;
["Mars"] = 2846029301;
}

All the worlds are public

2 Likes

They have access and all worlds work occasionally. Just a random occurrence for a few people

3 Likes

Just got the error again :confused: is there anyone that has experienced this before?

9 Likes

Does it have anything to do with the max player count?

For example, if the server reached the max amount of players and it can no longer connect new players while itā€™s full.

Based on the error message provided, it looks more like an authorization problem, so I am not completely sure.

Never seen that error before but you can try this, TeleportService | Documentation - Roblox Creator Hub.

I implemented it but when it retries, it says that it is unauthorized so it still doesnā€™t teleport.

4 Likes

I am currently tracking a huge spike in these errors in my game. This is likely a Roblox issue:

3 Likes

Hey guys and girls,

I just got that error from my game. I have enable the teleport from my game to other games, first time tried. Any other hints, stuff I should look for? Did you find a solution?

Thanks.

1 Like

For a more dynamic approach Iā€™d recommend the GetGamePlacesAsync built-in API method. It returns a ā€˜StandardPagesā€™ object containing the names and IDs of a gameā€™s (universeā€™s) places.
https://developer.roblox.com/en-us/api-reference/function/AssetService/GetGamePlacesAsync

do
	local Enumeration = Enum
	local Game = game
	local AssetService = Game:GetService("AssetService")
	local Players = Game:GetService("Players")
	local TeleportService = Game:GetService("TeleportService")
	
	local PlaceGui = Instance.new("ScreenGui")
	PlaceGui.Name = "PlaceGui"
	PlaceGui.ResetOnSpawn = false
	
	local PlaceFrame = Instance.new("Frame")
	PlaceFrame.Name = "PlaceFrame"
	PlaceFrame.Position = UDim2.new(0, 50, 0.5, 0)
	PlaceFrame.Size = UDim2.new(0, 600, 0, 250)
	PlaceFrame.Style = Enumeration.FrameStyle.RobloxRound
	PlaceFrame.Visible = false
	PlaceFrame.Parent = PlaceGui
	
	local PlacesFrame = Instance.new("ScrollingFrame")
	PlacesFrame.Name = "PlacesFrame"
	PlacesFrame.AutomaticCanvasSize = Enumeration.AutomaticSize.X
	PlacesFrame.BackgroundTransparency = 1
	PlacesFrame.BorderSizePixel = 0
	PlacesFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
	PlacesFrame.ScrollBarImageColor3 = Color3.new(1, 1, 1)
	PlacesFrame.ScrollBarThickness = 5
	PlacesFrame.Size = UDim2.new(1, 0, 1, 0)
	PlacesFrame.Parent = PlaceFrame
	
	local UIListLayout = Instance.new("UIListLayout")
	UIListLayout.FillDirection = Enumeration.FillDirection.Horizontal
	UIListLayout.Parent = PlacesFrame
	
	local function OnGuiTextButtonMouseClick(GuiTextButton)
		local State = (GuiTextButton.Style == Enumeration.ButtonStyle.RobloxButton)
		GuiTextButton.Style = if State then Enumeration.ButtonStyle.RobloxButtonDefault else Enumeration.ButtonStyle.RobloxButton
		GuiTextButton.Text = if State then "šŸ‘ˆ" else "šŸ‘‰"
		PlaceFrame.Visible = State
	end
	
	local GuiTextButton = Instance.new("TextButton")
	GuiTextButton.Name = "GuiTextButton"
	GuiTextButton.Font = Enumeration.Font.GothamMedium
	GuiTextButton.Position = UDim2.new(0, 0, 0.5, 0)
	GuiTextButton.Size = UDim2.new(0, 50, 0, 50)
	GuiTextButton.Style = Enumeration.ButtonStyle.RobloxButton
	GuiTextButton.Text = "šŸ‘‰"
	GuiTextButton.TextColor3 = Color3.new(1, 1, 1)
	GuiTextButton.TextSize = 48
	GuiTextButton.MouseButton1Click:Connect(function() OnGuiTextButtonMouseClick(GuiTextButton) end)
	GuiTextButton.Parent = PlaceGui
	
	local function OnPlaceTextButtonMouseClick(PlaceId)
		TeleportService:Teleport(PlaceId)
	end
	
	local Success, Result = pcall(AssetService.GetGamePlacesAsync, AssetService)
	if not Success then warn(Result) return end
	while true do
		local Page = Result:GetCurrentPage()
		for _, Item in ipairs(Page) do
			local PlaceTextButton = Instance.new("TextButton")
			PlaceTextButton.Name = "PlaceTextButton"
			PlaceTextButton.Font = Enumeration.Font.GothamMedium
			PlaceTextButton.Size = UDim2.new(0, 250, 1, 0)
			PlaceTextButton.Style = Enumeration.ButtonStyle.RobloxButton
			PlaceTextButton.Text = Item.Name
			PlaceTextButton.TextColor3 = Color3.new(1, 1, 1)
			PlaceTextButton.TextSize = 18
			PlaceTextButton.TextYAlignment = Enumeration.TextYAlignment.Bottom
			PlaceTextButton.MouseButton1Click:Connect(function() OnPlaceTextButtonMouseClick(Item.PlaceId) end)
			PlaceTextButton.Parent = PlacesFrame
			
			local PlaceImageLabel = Instance.new("ImageLabel")
			PlaceImageLabel.Name = "PlaceImageLabel"
			PlaceImageLabel.BackgroundTransparency = 1
			PlaceImageLabel.Image = "rbxthumb://type=Asset&w=420&h=420&id="..Item.PlaceId
			PlaceImageLabel.Size = UDim2.new(1, 0, 0.85, 0)
			PlaceImageLabel.Parent = PlaceTextButton
		end
		
		if Result.IsFinished then
			break
		else
			local _Success, _Result = pcall(Result.AdvanceToNextPageAsync, Result)
			if not _Success then warn(_Result) break end
		end
	end
	
	local LocalPlayer = Players.LocalPlayer
	local PlayerGui = LocalPlayer:FindFirstChildOfClass("PlayerGui") or LocalPlayer:WaitForChild("PlayerGui", 10)
	if not PlayerGui then return end
	PlaceGui.Parent = PlayerGui
end

image

Reproduction file:
PlaceGui.rbxl (31.0 KB)

1 Like