Get Item At Index Node Issue

Hello all,
I have verified to make sure both the item and list are string type. I have confirmed there are no “invisible spaces” in either string, but the 4 strings clearly match those found in the list. Any help would be appreciated.The intent of the script is to get to a point where i can place views on sheets. i cannot switch to auto lacing though i feel that is the issue here, i just cant figure out what exactly to do to fix it. Would love to do auto-lacing but there’s politics involved with IT to get Dynamo updated across the board for everyone.currently on version 1.3.4.6666. i appreciate any direction or resources given. also, if a fix is known for the get all viewport types node much obliged. I think that may be yet another update issue with needing archilabs latest package.

For the IndexOf node, try using Use Levels @L2

And for the Get All Viewport Types, install the archilab package or use the Python code for archilab:

# Copyright(c) 2015, Konrad K Sobon
# @arch_laboratory, http://archi-lab.net

import clr
# Import Element wrapper extension methods
clr.AddReference("RevitNodes")
import Revit
clr.ImportExtensions(Revit.Elements)

# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument

import sys
pyt_path = r'C:\Program Files (x86)\IronPython 2.7\Lib'
sys.path.append(pyt_path)

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *

#The inputs to this node will be stored as a list in the IN variable.
dataEnteringNode = IN

try:
	errorReport = None
	viewports = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Viewports).WhereElementIsNotElementType().ToElements()
	types = [doc.GetElement(i) for i in viewports[0].GetValidTypes()]
except:
	# if error accurs anywhere in the process catch it
	import traceback
	errorReport = traceback.format_exc()

#Assign your output to the OUT variable
if errorReport == None:
	OUT = types
else:
	OUT = errorReport

i still get the error when trying that. dang, any other potential fixes?

Why are you repeating the list?
Remove the Count node and List.OfRepeatedItem node from the graph.