Argument 3 missing or nil // RemoteFunction

Hello DevFourm, my remotefunction dosent fire when using this script, however it works in earlier code. It might be the TextBox, but unsure. If anyone can help me, that would be great, thanks.

Local Code

local LobbyCode = tostring(script.Parent.Main.Code.Text)
			print("Code: "..LobbyCode)
			local ConnectedPlayers = game.ReplicatedStorage.MatchmakingSystem.GetAllLinkedUserIds:InvokeServer(LobbyCode)
			repeat wait() until ConnectedPlayers 

Server Code:

ReplicatedStorage.MatchmakingSystem.GetAllLinkedUserIds.OnServerInvoke = function(Player,Code)
	print('lol')
	local IDCheckStore = MemoryStoreService:GetSortedMap("PlayerLinkedv3"):GetRangeAsync(Enum.SortDirection.Ascending,200)
	local People = {}
	for i,v in pairs(IDCheckStore) do
		print(v.value[2])
		print(Code)
		
		if v.value[2] == Code.Message then
			table.insert(People,v.key)
			print()
		end
	end
	return People
end

What line is the error from? Is it in the local script or the server script?

Sorry pal, my mistake. It occurs here. (Edit, got it wrong again cause im stupid)

when it errors does this print anything right before the error?

Not seeing anything in the output

so the text box is empty?

maybe try setting lobbycode to something right before you client side print and see if you get it serverside by placing a print of it at top of the remotefunction

Alright pal, thanks for the suggestion. Ill lyk if this works