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 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,

import clr
# Import Element wrapper extension methods
import Revit

# Import DocumentManager and TransactionManager
import RevitServices
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument

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

# Import 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

	errorReport = None
	viewports = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Viewports).WhereElementIsNotElementType().ToElements()
	types = [doc.GetElement(i) for i in viewports[0].GetValidTypes()]
	# 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
	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.